Demo & Introduction
This Chatologica Software is a
3
in
1
software.
You can run it in three different modes as described
below:
-
1.
Standard CGI mode:
-
The most frequently used interface of this software. You can use any of the
script wrappers below to execute it. Just click on the links below to test
what might work for you.
Scripts with tainting checks enabled:
-
x.cgi (
test interface
test
compression ) - standard script wrapper.
-
nph-x.cgi (
test interface
test
compression ) - nph-script wrapper - used if the script has to produce
streaming output rather than an instantly generated page.
In addition, you can call the above scripts with .pl extension if
supported by your web server. Test:
x.pl ( test interface
test
compression ) and
nph-x.pl (
test interface
test
compression )
The above script wrappers will run the software with enabled perl tainting
checks. This is indicated by -T switch when perl's interpreter is
invoked and at runtime Perl will monitor the input data to make sure that
there is no possible security risks. The software will try to setuid the
server child process to the owner's user id if you chmoded the cgi wrappers
to 6755.
Scripts with perl tainting checks disabled:
If the above scripts do not work try the wrappers below. They will invoke
Perl without -T switch and will not enable tainting
checks:
x-t.cgi ( test
interface
test
compression )
-
nph-x-t.cgi (
test interface
test
compression )
x-t.pl ( test
interface
test
compression )
nph-x-t.pl ( test interface
test
compression )
Similarly the admin page could be accessed through 8 different
links:
admin.cgi
admin-t.cgi
nph-admin.cgi
nph-admin-t.cgi
admin.pl
admin-t.pl
nph-admin.pl
nph-admin-t.pl
-
2.
mod_perl (Apache::Registry) mode:
-
(Your web server at
$out{server} is
$out{mod_perl_enabled}
mod_perl enabled.)
Running the software in this mode is very fast but you'll need a mod_perl
enabled Apache web-server for this purpose. Click
here to see
the mod_perl status of
the current web server.
x.mpl (
test interface
test
compression ) - standard mod_perl script wrapper.
nph-x.mpl (
test interface
test
compression ) - mod_perl nph-script wrapper.
mod_perl cgi scripts do not have wrapper variants with -T perl switch because
it does not take effect. All mod_perl scripts by default run without tainting
checks and with disabled setuid functionality.
-
3.
FastCGI mode:
-
(Your web server at
$out{server} is
$out{fastcgi_enabled}
FastCGI enabled.)
Your web server must be FastCGI
enabled in order to use this or you will receive error messages like
"Can't locate FCGI.pm in @INC ....."
x.fcgi (
test interface
test
compression ) - Fast CGI script wrapper - call this script
to run the software as a Fast CGI application.
nph.fcgi (
test interface
test
compression ) - NPH Fast CGI script wrapper. You have to start
it as a static FastCGI server with -flush option to make it not buffer
its output. The nph prefix in the script name cannot be removed.
The variants below without perl tainting checks would work faster but may
fail to setuid or start for some setups:
x-t.fcgi ( test
interface
test
compression )
npht.fcgi (
test interface
test
compression )
If your web server is mod_perl or FastCGI enabled but you can't
still run the software in these modes rename cgi/.sample_htaccess
file to cgi/.htaccess. This configuration file will set execution
of *.mpl and *.fcgi scripts through mod_perl and
FastCGI. If you get "Internal Server Error" rename back the
.htaccess to .sample_htaccess.
You can check what CGI interface (mod_perl, FastCGI or standard CGI)
is used for executing a script by adding to the url a string:
NAVG=Info The url should appear like
http://yourhost/..some_path.$out{cgi_url}x.cgi?NAVG=Info
Also you can check if a request for an url returns http compressed content:
Tip: You can rename most of these scripts. Consult with
FAQs.