Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

DOCUMENT_ROOT/Library/Apache2/htdocs
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTtext/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
HTTP_ACCEPT_CHARSETISO-8859-1, utf-8;q=0.66, *;q=0.66
HTTP_ACCEPT_ENCODINGgzip, deflate, compress;q=0.9
HTTP_ACCEPT_LANGUAGEen-us, en;q=0.50
HTTP_CONNECTIONkeep-alive
HTTP_HOSTlocalhost
HTTP_KEEP_ALIVE300
HTTP_USER_AGENTMozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2) Gecko/20021126
PATH/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
QUERY_STRING
REMOTE_ADDR127.0.0.1
REMOTE_PORT53018
REQUEST_METHODGET
REQUEST_URI/twiki/bin/testenv
SCRIPT_FILENAME/Users/stefanl/Sites/twiki/bin/testenv
SCRIPT_NAME/twiki/bin/testenv
SERVER_ADDR127.0.0.1
SERVER_ADMINyou@your.address
SERVER_NAMElocalhost
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
Apache/2.0.40 Server at localhost Port 80
SERVER_SOFTWAREApache/2.0.40 (Unix) DAV/2 PHP/4.2.3

CGI Setup:

Operating system:Unix (darwin)
Perl version:5.6.0
@INC library path:../lib
/System/Library/Perl/darwin
/System/Library/Perl
/Library/Perl/darwin
/Library/Perl
/Library/Perl
/Network/Library/Perl/darwin
/Network/Library/Perl
/Network/Library/Perl
.
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: 26 Nov 2002)
Required Perl modules:
CGI (2.56)
CGI::Carp (1.14)
File::Copy (2.03)
Warning: 'Digest::SHA1' not installed - check TWiki documentation to see if this is required.
MIME::Base64 (2.12)
Net::SMTP (2.24)
Optional Perl modules:
Algorithm::Diff (1.01)
MIME::Base64 (2.12)
PATH_INFO:
Note: For a URL such as http://localhost/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 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)
User:stefanl
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 stefanl. Otherwise, changes to topics will not be logged by RCS.
Group(s): www www

Test of TWiki.cfg Configuration:

$wikiHomeUrl:http://TWiki.org/
Note: This is the link of the TWiki icon in the upper left corner.
$defaultUrlHost:http://localhost
Note: This must be the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath:/twiki/bin
Note: This must be the URI of the TWiki cgi-bin directory.
$pubUrlPath:/twiki/pub
Note: This must be the URI of the public directory.This is not set correctly if the /twiki/pub/wikiHome.gif image below is broken:
$pubDir:/home/stefanl/Sites/twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir:/home/stefanl/Sites/twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
$dataDir:/home/stefanl/Sites/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.
Warning: Search program /bin/egrep not found. Check the path.
$fgrepCmd:/bin/fgrep
Note: This is a program TWiki uses for search.
Warning: Search program /bin/fgrep not found. Check the path.
$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:/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/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.