Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

DOCUMENT_ROOT/var/www
GATEWAY_INTERFACECGI/1.1
HTTP_CONNECTIONclose
HTTP_FROMcrawler@alexa.com
HTTP_HOSThwi.ath.cx
HTTP_USER_AGENTia_archiver
PATH/bin:/usr/bin:/usr/local/bin
QUERY_STRING
REMOTE_ADDR209.237.238.176
REMOTE_HOSTcrawl26-public.alexa.com
REMOTE_PORT48906
REQUEST_METHODGET
REQUEST_URI/twiki/bin/testenv
SCRIPT_FILENAME/usr/local/install/TWiki/bin/testenv
SCRIPT_NAME/twiki/bin/testenv
SERVER_ADDR82.33.185.244
SERVER_ADMINroot@hwi.ath.cx
SERVER_NAMEhwi.ath.cx
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.0
SERVER_SIGNATURE
SERVER_SOFTWAREApache/1.3.33 (Debian GNU/Linux) mod-xslt/1.3.8 PHP/3.0.18 mod_perl/1.29
UNIQUE_IDQiSasX8AAAEAAEy1el0

CGI Setup:

Operating system:Unix (linux)
Perl version:5.8.4
@INC library path:/usr/local/install/TWiki/lib
/etc/perl
/usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_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: 02 Sep 2004 $Rev: 1742 $)
Required Perl modules:
CGI (3.04)
CGI::Carp (1.27)
File::Copy (2.07)
File::Spec (0.87)
FileHandle (2.01)
Optional Perl modules:
Algorithm::Diff (1.02)
MIME::Base64 (3.04)
POSIX (1.08)
Encode (1.99_01)
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.33)
Digest::SHA1 (2.10)
MIME::Base64 (3.04)
Net::SMTP (2.29)
PATH_INFO:
Note: For a URL such as http://hwi.ath.cx/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 loaded into Apache)
User: www-data
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 www-data. Otherwise, changes to topics will not be logged by RCS.
Fix: If needed, relock all the rcs files to user www-data
Group(s): www-data www-data

Test of TWiki.cfg Configuration:

$defaultUrlHost:http://hwi.ath.cx
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:/usr/local/install/TWiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir:/usr/local/install/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 www-data user.
$dataDir:/usr/local/install/TWiki/data
Note: This is the data directory where TWiki stores all topics.
$mailProgram:/usr/bin/mail
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:/bin:/usr/bin:/usr/local/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:/usr/local/install/TWiki/data/.htpasswd
Note: only some combinations of Format, Encoding and Filename are valid, and fewer are tested