![]() |
![]()
| ![]() |
![]()
NAMEModPerl::PerlRun - Run unaltered CGI scripts under mod_perl Synopsis# 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> DescriptionMETA: 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. Special Blocks"BEGIN" BlocksWhen running under the "ModPerl::PerlRun" handler "BEGIN" blocks behave as follows:
See also "BEGIN" blocks in mod_perl handlers. "CHECK" and "INIT" BlocksSame as normal mod_perl handlers. "END" BlocksSame as "ModPerl::Registry". AuthorsDoug MacEachern Stas Bekman See Also"ModPerl::RegistryCooker" and "ModPerl::Registry".
|