| libapache2-mod-perl2-2.0.13::docs::api::ModPerl::PerlRun(3pm) | User Contributed Perl Documentation | libapache2-mod-perl2-2.0.13::docs::api::ModPerl::PerlRun(3pm) |
ModPerl::PerlRun - Run unaltered CGI scripts under mod_perl
# httpd.conf
PerlModule ModPerl::PerlRun
Alias /perl-run/ /home/httpd/perl/
<Location /perl-run>
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
PerlOptions +ParseHeaders
Options +ExecCGI
</Location>
META: document that for now we don't chdir() into the script's dir, because it affects the whole process under threads. "ModPerl::PerlRunPrefork" should be used by those who run only under prefork MPM.
When running under the "ModPerl::PerlRun" handler "BEGIN" blocks behave as follows:
See also "BEGIN" blocks in mod_perl handlers.
Same as normal mod_perl handlers.
Same as "ModPerl::Registry".
Doug MacEachern
Stas Bekman
"ModPerl::RegistryCooker" and "ModPerl::Registry".
| 2024-04-07 | perl v5.38.2 |