NullTerminator
Programmer
I've got modperl built into apache, and apsche says it is loaded, but the GATEWAY_INTERFACE still indicates plain CGI
Please reference
for details
Thanks
Jeb
\0
Please reference
for details
Thanks
Jeb
\0
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#
# The mod_perl directives
# Set various configuration options
#
PerlModule Apache::Registry
<Directory [i]/path/to/domain/cgi-bin/[/i]>
<Files *.cgi>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader Off
Options +ExecCGI
</Files>
</Directory>
use vars qw($count);
print "Content-type: text/html\n\n";
print "<b>Mod_perl test script</b><br><br>\n";
$count++;
print "The following count will start at 1 and will increment by 1 on each refresh \n";
print "(If this was a non-mod_perl script, the counter would always be 1).<br>\n";
print "count = $count\n<br><br>";
LoadModule perl_module modules/mod_perl.so
ScriptAlias /perl-bin/ "/opt/apache/subversion/perl-bin/"
<Location /perl-bin >
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
Options ExecCGI
PerlOptions +ParseHeaders
</Location>