View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Fred Moyer > mod_perl > ModPerl::PerlRun



Annotate this POD


New  25
Open  9
View/Report Bugs
Module Version: 1.99   Source   Latest Release: mod_perl-2.0.10


ModPerl::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

Description ^

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.

Special Blocks ^

BEGIN Blocks

When running under the ModPerl::PerlRun handler BEGIN blocks behave as follows:

See also BEGIN blocks in mod_perl handlers.

CHECK and INIT Blocks

Same as normal mod_perl handlers.

END Blocks

Same as ModPerl::Registry.

Authors ^

Doug MacEachern

Stas Bekman

See Also ^

ModPerl::RegistryCooker and ModPerl::Registry.

syntax highlighting: