Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

DOCUMENT_ROOT /home/httpd/twiki
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE de-at
HTTP_CONNECTION Keep-Alive
HTTP_COOKIE twikisession=1097735925-215394
HTTP_HOST twiki.company.at
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
QUERY_STRING
REMOTE_ADDR 10.1.11.102
REMOTE_PORT 1180
REQUEST_METHOD GET
REQUEST_URI /bin/testenv
SCRIPT_FILENAME /home/httpd/twiki/bin/testenv
SCRIPT_NAME /bin/testenv
SERVER_ADDR 10.1.253.227
SERVER_ADMIN twiki.admin@company.at
SERVER_NAME srvtwiki01.company.at
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
Apache/1.3.27 Server at srvtwiki01.company.at Port 80
SERVER_SOFTWARE Apache/1.3.27 (Unix) (Red-Hat/Linux)

CGI Setup:

Operating system: Unix (linux)
Perl version: 5.6.1
@INC library path: ../lib
/usr/lib/perl5/5.6.1/i386-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/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: 06 Oct 2004 $Rev: 1759 $)
Required Perl modules:
CGI (3.00)
CGI::Carp (1.26)
File::Copy (2.03)
File::Spec (0.86)
FileHandle (2.00)
Optional Perl modules:
Algorithm::Diff (1.02)
MIME::Base64 (2.12)
POSIX (1.03)
Note: Optional module 'Encode' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'Unicode::MapUTF8' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'Unicode::Map' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'Unicode::Map8' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'Jcode' not installed - check TWiki documentation to see if your configuration needs this module.
Digest::MD5 (2.30)
File::Copy (2.03)
XML::Stream (1.16)
Time::ParseDate (2003.0211)
Storable (1.014)
DBI (1.38)
DBD::mysql (2.9002)
Note: Optional module 'Unicode::String' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'MIME::Tools' not installed - check TWiki documentation to see if your configuration needs this module.
Note: Optional module 'Archive::Zip' not installed - check TWiki documentation to see if your configuration needs this module.
Digest::SHA1 (2.02)
MIME::Base64 (2.12)
Net::SMTP (2.26)
PATH_INFO:
Note: For a URL such as http://twiki.company.at/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://twiki.company.at:80
Note: This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath: /bin
Note: This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
$pubUrlPath: /pub
Note: This must be the URL of the public directory.This is not set correctly if the /pub/wikiHome.gif image below is broken:
$pubDir: /home/httpd/twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir: /home/httpd/twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
Warning: Security issue: This directory should not be writable by the apache user.
$dataDir: /home/httpd/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: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/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: /home/httpd/twiki/data/.htpasswd
Note: only some combinations of Format, Encoding and Filename are valid, and fewer are tested

Internationalisation and Locale Setup

$useLocale: 1
Note: This TWiki.cfg setting controls whether locales are used by Perl and 'grep'.
$siteLocale: en_US.iso885915
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.
$siteCharset: iso885915
Note: This value is derived from the site-wide locale setting. It may have been overridden by $siteCharsetOverride (currently ''). It is used in TWiki's HTML pages and HTTP headers, so it must be acceptable to web browsers even if it is different to the locale-derived setting (e.g. 'euc-jp' instead of 'eucjp')