=head1 NAME
ModPerl::PerlRun - Run unaltered CGI scripts under mod_perl
=head1 Synopsis
# httpd.conf
PerlModule ModPerl::PerlRun
Alias /perl-run/ /home/httpd/perl/
SetHandler perl-script
PerlResponseHandler ModPerl::PerlRun
PerlOptions +ParseHeaders
Options +ExecCGI
=head1 Description
META: document that for now we don't chdir() into the script's dir,
because it affects the whole process under
threads. C>
should be used by those who run only under prefork MPM.
=head1 Special Blocks
=head2 C Blocks
When running under the C handler C blocks
behave as follows:
=over
=item *
C blocks defined in scripts running under the
C handler are executed on each and every request.
=item *
C blocks defined in modules loaded from scripts running under
C (and which weren't already loaded prior to the
request) are executed on each and every request only if those modules
declare no package. If a package is declared C blocks will be
run only the first time each module is loaded, since those modules
don't get reloaded on subsequent requests.
=back
See also L blocks in mod_perl
handlers|docs::2.0::user::coding::coding/C_BEGIN__Blocks>.
=head2 C and C Blocks
Same as normal L.
=head2 C Blocks
Same as
C>.
=head1 Authors
Doug MacEachern
Stas Bekman
=head1 See Also
C>
and C>.
=cut