MashMashy has asked for the wisdom of the Perl Monks concerning the following question:
These two variables are of note:#!/usr/bin/perl -X print "Content-type: text/plain\n\n"; print "Server's environment\n"; foreach ( keys %ENV ) { print "$_\t$ENV{$_}<br>\n"; } exit;
See how there is a mod_perl var, but the gateway is still CGI?GATEWAY_INTERFACE CGI/1.1 MOD_PERL mod_perl/1.99_16
LoadModule perl_module modules/mod_perl.so Alias /diroftest "/var/www/html/diroftest" <Directory "/var/www/html/billy2/bvs"> Options Indexes FollowSymLinks Options +Includes DirectoryIndex index.shtml SetHandler perl-script AddHandler perl-script .html Options +ExecCGI PerlHandler ModPerl::PerlRun # PerlHandler ModPerl::Registry # PerlOptions +ParseHeaders AllowOverride None Order allow,deny Allow from all </Directory>
|
|---|