Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

AUTH_TYPEBasic
DOCUMENT_ROOT/var/www/html
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSETISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODINGgzip,deflate
HTTP_ACCEPT_LANGUAGEen-gb,en;q=0.5
HTTP_CONNECTIONkeep-alive
HTTP_HOSTwww.illtud.com
HTTP_KEEP_ALIVE300
HTTP_USER_AGENTMozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING
REMOTE_ADDR82.153.183.109
REMOTE_PORT56871
REMOTE_USERilltud
REQUEST_METHODGET
REQUEST_URI/twiki/bin/testenv
SCRIPT_FILENAME/var/www/twiki/bin/testenv
SCRIPT_NAME/twiki/bin/testenv
SERVER_ADDR192.168.66.2
SERVER_ADMINroot@localhost
SERVER_NAMEwww.illtud.com
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
Apache/2.0.54 (Fedora) Server at www.illtud.com Port 80
SERVER_SOFTWAREApache/2.0.54 (Fedora)
UNIQUE_IDj2wI7X8AAAEAAB2WVZwAAAAE

CGI Setup:

Operating system:Unix (linux)
Perl version:5.8.6
@INC library path:/var/www/twiki/lib
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4
/usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/5.8.6
.
Note: This is the Perl library path, used to load TWiki modules, third-party modules used by some plugins, and Perl built-in modules.
TWiki module in @INC path:
OK, TWiki.pm found (TWiki version: 30 Oct 2004 $Rev: 1794 $)
Required Perl modules:
CGI (3.10)
CGI::Carp (1.29)
File::Copy (2.08)
File::Spec (3.01)
FileHandle (2.01)
Optional Perl modules:
Algorithm::Diff (1.02)
MIME::Base64 (3.05)
POSIX (1.08)
Encode (2.08)
Unicode::MapUTF8 (1.09)
Unicode::Map (0.112)
Unicode::Map8 (0.12)
Jcode (2.03)
Digest::MD5 (2.33)
Digest::SHA1 (2.10)
MIME::Base64 (3.05)
Net::SMTP (2.29)
PATH_INFO:
Note: For a URL such as http://www.illtud.com/twiki/bin/testenv/foo/bar, the correct PATH_INFO is /foo/bar, without any prefixed path components. Test this now - particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. The page resulting from the test link should have a PATH_INFO of /foo/bar.
mod_perl:Not used for this script (mod_perl not loaded into Apache)
User: apache
Note: Your CGI scripts are executing as this user.
Warning: Since your CGI script is not running as user nobody, you need to change the locks in the *,v RCS files of the TWiki distribution from nobody to apache. Otherwise, changes to topics will not be logged by RCS.
Fix: If needed, relock all the rcs files to user apache
Group(s): apache apache

Test of TWiki.cfg Configuration:

$defaultUrlHost:http://www.illtud.com
Note: This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath:/twiki/bin
Note: This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
$pubUrlPath:/twiki/pub
Note: This must be the URL of the public directory.This is not set correctly if the /twiki/pub/wikiHome.gif image below is broken:
$pubDir:/var/www/twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir:/var/www/twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
$dataDir:/var/www/twiki/data
Note: This is the data directory where TWiki stores all topics.
$mailProgram:/usr/sbin/sendmail -t -oi -oeq
Note: This is the mail program TWiki uses to send mail.
$rcsDir:/usr/bin
Note: This is the directory where RCS is located.
RCS Version:5.7
Note: This is the version of RCS which will be used.
$lsCmd:/bin/ls
Note: This is the file list program TWiki uses to list topics.
$egrepCmd:/bin/egrep
Note: This is a program TWiki uses for search.
$fgrepCmd:/bin/fgrep
Note: This is a program TWiki uses for search.
$safeEnvPath:/bin:/usr/bin
Note: This is used to initialise the PATH variable, and is used to run the 'diff' program used by RCS, as well as to run shell programs such as Bourne shell or 'bash'.

Path and Shell Environment

Original PATH:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
Note: This is the PATH value passed in from the web server to this script - it is reset by TWiki scripts to the PATH below, and is provided here for comparison purposes only.
Current PATH:/bin:/usr/bin
Note: This is the actual PATH setting that will be used by Perl to run programs. It is normally identical to $safeEnvPath, unless that variable is empty.
diff:GNU diff was found on the PATH - this is the recommended diff tool.
Note: The 'diff' command is used by RCS to compare files.

User Authentication

htpasswd Format Family:htpasswd
htpasswd Encoding:crypt
htpasswd Filename:/var/www/twiki/data/.htpasswd
Note: only some combinations of Format, Encoding and Filename are valid, and fewer are tested