In transitioning to mod_perl 1.99_13 I have a couple question. Today, I got
mod_perl built into Apache 2.
However, I would expect to be able to actually get the mod_perl working.
I used to be able to see if it was actually running by looking at the
GATEWAY_INTERFACE. (reference: to see GATEWAY_INTERFACE and other ENV hash
elements:
for $key ( sort keys %ENV ) {
print "<tr><th align=\"right\">$key</th><td>$ENV{$key}</td></tr>\n";
}
In order to actually invoke the mod_perl on Apache 1.3.28 I had to add
following section in
the Directory tag where I wanted the mod_perl to be "turned on"
<Directory ...
<Files "*">
# new
# SetHandler perl-script
# PerlHandler ModPerl::Registry
# PerlOptions +ParseHeaders
# Options +ExecCGI
# old
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
PerlSendHeader ON
</Files>
</Directory>
The new directives specified as above in
http://perl.apache.org/docs/2.0/user/intro/start_fast.html don't seem to be
working for me. I tried replacing the line PerlHandler Apache::Registry with
PerlResponseHandler. These were to be used for the <Location> tag, so maybe
there are some different ones for the <Files> tag. Could someone help me with
the correct syntax? I would expect
What are the proper directives for replacing the following lines in the Apache
1.3.28 config file?
PerlModule Apache
PerlModule Apache::Registry
I would assume something like:
PerlModule ModPerl
PerlModule ModPerl::Registry
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html