Test the environment for TWiki

Please read the TWikiInstallationNotes for more information on TWiki installation.

Environment variables:

COMSPECC:\WINNT\system32\cmd.exe
DOCUMENT_ROOTC:/xampp/htdocs
GATEWAY_INTERFACECGI/1.1
HTTP_ACCEPTimage/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODINGgzip, deflate
HTTP_ACCEPT_LANGUAGEde
HTTP_CONNECTIONKeep-Alive
HTTP_HOSTlocalhost
HTTP_USER_AGENTMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
PATHC:\Programme\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Gemeinsame Dateien\Adaptec Shared\System;C:\SAFEGUARD;C:\Dokumente und Einstellungen\RuchH\Eigene Dateien\GTK\bin
PATHEXT.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
QUERY_STRING
REMOTE_ADDR127.0.0.1
REMOTE_PORT2367
REQUEST_METHODGET
REQUEST_URI/twiki2/bin/testenv.pl
SCRIPT_FILENAMEC:/xampp/htdocs/twiki2/bin/testenv.pl
SCRIPT_NAME/twiki2/bin/testenv.pl
SERVER_ADDR127.0.0.1
SERVER_ADMINadmin@localhost
SERVER_NAMElocalhost
SERVER_PORT80
SERVER_PROTOCOLHTTP/1.1
SERVER_SIGNATURE
Apache/2.0.50 (Win32) mod_perl/1.99_14 Perl/v5.8.4 PHP/5.0.0 mod_ssl/2.0.50 OpenSSL/0.9.7c Server at localhost Port 80
SERVER_SOFTWAREApache/2.0.50 (Win32) mod_perl/1.99_14 Perl/v5.8.4 PHP/5.0.0 mod_ssl/2.0.50 OpenSSL/0.9.7c
SYSTEMROOTC:\WINNT
WINDIRC:\WINNT

CGI Setup:

Operating system:Windows (MSWin32)
Perl version:5.8.4 (SiePerl/Other Win32 Perl)
@INC library path:c:/xampp/htdocs/twiki2/lib
C:/xampp/perl/lib
C:/xampp/perl/site/lib
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)
Digest::SHA1 (2.10)
MIME::Base64 (3.01)
Net::SMTP (2.26)
Optional Perl modules:
Algorithm::Diff (1.02)
MIME::Base64 (3.01)
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)
PATH_INFO:
Note: For a URL such as http://localhost/twiki2/bin/testenv.pl/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: ruchh
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 ruchh. Otherwise, changes to topics will not be logged by RCS.
Fix: If needed, relock all the rcs files to user ruchh
Group(s):[Can't identify groups - no Cygwin 'id' or 'sh' command on path]

Test of TWiki.cfg Configuration:

$defaultUrlHost:http://localhost
Note: This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath:/twiki2/bin
Note: This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
$pubUrlPath:/twiki2/pub
Note: This must be the URL of the public directory.This is not set correctly if the /twiki2/pub/wikiHome.gif image below is broken:
$pubDir:c:/xampp/htdocs/twiki2/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir:c:/xampp/htdocs/twiki2/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 ruchh user.
$dataDir:c:/xampp/htdocs/twiki2/data
Note: This is the data directory where TWiki stores all topics.
$mailProgram:/usr/sbin/sendmail -t -oi -oeq
Note: This is not typically used on Windows - the Perl Net::SMTP module is used instead.
$rcsDir:c:/cygwin/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:/cygwin/bin/ls
Note: This is the file list program TWiki uses to list topics.
$egrepCmd:/cygwin/bin/egrep
Note: This is a program TWiki uses for search.
Warning: Search program /cygwin/bin/egrep.exe not found. Check the path.
$fgrepCmd:/cygwin/bin/fgrep
Note: This is a program TWiki uses for search.
Warning: Search program /cygwin/bin/fgrep.exe not found. Check the path.
$safeEnvPath:/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 cmd.exe or Cygwin's 'bash'.

Path and Shell Environment

Original PATH:C:\Programme\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programme\ATI Technologies\ATI Control Panel;C:\Programme\Gemeinsame Dateien\Adaptec Shared\System;C:\SAFEGUARD;C:\Dokumente und Einstellungen\RuchH\Eigene Dateien\GTK\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
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.
PERL5SHELL:
Note: This environment variable is used by ActiveState and other Win32 Perls to run commands from TWiki scripts - it determines which shell program is used to run commands that use 'pipes'. Examples of shell programs are cmd.exe, command.com (aka 'DOS Prompt'), and Cygwin's 'bash' (recommended if Cygwin is installed).

To use 'bash' with ActiveState or other Win32 Perls, you should set the PERL5SHELL environment variable to something like c:/YOURCYGWINDIR/bin/bash.exe -c. This should be set in the System Environment, and ideally set directly in the web server (e.g. using the Apache SetEnv command, followed by an Apache restart). Once this is done, you should re-run testenv to check that PERL5SHELL is set properly.

User Authentication

htpasswd Format Family:htpasswd
htpasswd Encoding:sha1
htpasswd Filename:c:/xampp/htdocs/twiki2/data/.htpasswd
Note: only some combinations of Format, Encoding and Filename are valid, and fewer are tested