--
ReneSchickbauer - 26 Oct 2003
Test the environment for TWiki
Please read the
TWikiInstallationNotes? for more information on TWiki installation.
Environment variables:
DOCUMENT_ROOT /usr/pkg/share/httpd/wiki/twiki
GATEWAY_INTERFACE CGI-Perl/1.1
HTTP_ACCEPT text/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_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CACHE_CONTROL max-age=259200
HTTP_CONNECTION keep-alive
HTTP_HOST wiki.blinkenarea.org
HTTP_KEEP_ALIVE 300
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
HTTP_VIA 1.1 betabox.flex.at:3128 (Squid/2.4.STABLE7)
HTTP_X_FORWARDED_FOR 10.10.10.3
MOD_PERL mod_perl/1.25
PATH /bin:/usr/bin
PERL_SEND_HEADER On
QUERY_STRING
REMOTE_ADDR 62.116.19.221
REMOTE_PORT 57751
REQUEST_METHOD GET
REQUEST_URI /bin/testenv
SCRIPT_FILENAME /usr/pkg/share/httpd/wiki/twiki/bin/testenv
SCRIPT_NAME /bin/testenv
SERVER_ADDR 213.229.50.215
SERVER_ADMIN
cavac@grumpfzotz*-r-e-m-o-v-e-*.org
SERVER_NAME wiki.blinkenarea.org
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
Apache/1.3.28 Server at wiki.blinkenarea.org Port 80
SERVER_SOFTWARE Apache/1.3.28 (Unix) mod_perl/1.25
UNIQUE_ID P5xbDMCoAAEAAEWVz4U
CGI Setup:
Operating system: Unix (UNIX)
Perl version: 5.6.1
@INC library path: ../lib
/usr/pkg/lib/perl5/site_perl/5.6.1/alpha-netbsd
/usr/pkg/lib/perl5/site_perl/5.6.1
/usr/pkg/lib/perl5/site_perl
/usr/pkg/lib/perl5/5.6.1/alpha-netbsd
/usr/pkg/lib/perl5/5.6.1
.
/usr/pkg/
/usr/pkg/lib/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.752)
CGI::Carp (1.20)
File::Copy (2.03)
Optional Perl modules:
Algorithm::Diff (1.01)
MIME::Base64 (2.20)
POSIX (1.03)
PATH_INFO:
- Note
- For a URL such as http://oldwiki.blinkenarea.org/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: Used for this script (mod_perl loaded)
User: root
- 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 root. Otherwise, changes to topics will not be logged by RCS.
Group(s): www www
Test of TWiki.cfg Configuration:
$wikiHomeUrl:
http://your.domain.com/twiki
- Note
- This is the link of the TWiki icon in the upper left corner.
$defaultUrlHost:
http://wiki.blinkenarea.org
- Note
- This must be the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath: /bin
- Note
- This must be the URI of the TWiki cgi-bin directory.
$pubUrlPath: /pub
- Note
- This must be the URI of the public directory.This is not set correctly if the /pub/wikiHome.gif image below is broken:
$pubDir: /usr/pkg/share/httpd/wiki/twiki/pub
- Note
- This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir: /usr/pkg/share/httpd/wiki/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 root user.
$dataDir: /usr/pkg/share/httpd/wiki/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: /bin:/usr/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: 1
- Note
- This TWiki.cfg setting controls whether locales are used by Perl and 'grep'.
$siteLocale: de_AT.ISO-8859-15
- 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.
- Warning
- Unable to set locale to de_AT.ISO-8859-15, actual locale is C - please test your locale settings.