Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

DOCUMENT_ROOT/export2/intranet/twiki
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,*/*;q=0.1
HTTP_ACCEPT_CHARSETISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODINGgzip,deflate
HTTP_ACCEPT_LANGUAGEen-us,en;q=0.5
HTTP_CONNECTIONkeep-alive
HTTP_COOKIECGISESSID=b7ea68c5b7d02b596a814c9316f8418f
HTTP_HOSTintranet.storadinc.com
HTTP_KEEP_ALIVE300
HTTP_USER_AGENTMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20030101
PATH/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING
REMOTE_ADDR10.123.4.110
REMOTE_PORT58045
REQUEST_METHODGET
REQUEST_URI/twiki/bin/testenv
SCRIPT_FILENAME/export2/intranet/twiki/bin/testenv
SCRIPT_NAME/twiki/bin/testenv
SERVER_ADDR10.123.0.36
SERVER_ADMINroot@storadinc.com
SERVER_NAMEintranet.storadinc.com
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
Apache/2.0.40 Server at intranet.storadinc.com Port 80
SERVER_SOFTWAREApache/2.0.40 (Red Hat Linux)
UNIQUE_IDrk76ogoAAfwAADx-DYUAAAAC

CGI Setup:

Operating system:Unix (linux)
Perl version:5.8.0
@INC library path:../lib
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_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: 01 Feb 2003)
Required Perl modules:
CGI (2.81)
CGI::Carp (1.23)
File::Copy (2.05)
Optional Perl modules:
Algorithm::Diff (1.01)
MIME::Base64 (2.12)
POSIX (1.05)
PATH_INFO:
Note: For a URL such as http://intranet.storadinc.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 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:nobody
Note: Your CGI scripts are executing as this user.
Group(s): nobody nobody

Test of TWiki.cfg Configuration:

$wikiHomeUrl:http://intranet.storadinc.com/twiki/bin/view
Note: This is the link of the TWiki icon in the upper left corner.
$defaultUrlHost:http://intranet.storadinc.com
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:/export2/intranet/twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir:/export2/intranet/twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
$dataDir:/export2/intranet/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.

Internationalisation and Locale Setup

$useLocale:0
Note: This TWiki.cfg setting controls whether locales are used by Perl and 'grep'.
$siteLocale:C
Note: This TWiki.cfg parameter sets the site-wide locale - for example, de_AT.ISO-8859-1 where 'de' is the language code, 'AT' the country code and 'ISO-8859-1' is the character set. Use the locale -a command on your system to determine available locales.
$upperNational:
Note: This TWiki.cfg parameter is used when $useLocale is 0, to work around missing or non-working locales. It is also used with Perl 5.005 for efficiency reasons - upgrading to Perl 5.6.1 with working locales is recommended, and removes the need for this. If required, this parameter should be set to the upper case accented characters you require in your locale.
$lowerNational:
Note: This TWiki.cfg parameter is used whenever $upperNational is used. This parameter should be set to the lower case accented characters you require in your locale.