ModPerl::PerlRun man page on CentOS

Man page or keyword search:  
man Server   8420 pages
apropos Keyword Search (all sections)
Output format
CentOS logo
[printable version]

docs::api::ModPerl::PeUsernContributed Perl Docudocs::api::ModPerl::PerlRun(3)

NAME
       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
	 </Location>

Description
       META: document that for now we don't chdir() into the script's dir,
       because it affects the whole process under threads. "ModPerl::PerlRun‐
       Prefork" 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:

       ·   "BEGIN" blocks defined in scripts running under the "ModPerl::Perl‐
	   Run" handler are executed on each and every request.

       ·   "BEGIN" blocks defined in modules loaded from scripts running under
	   "ModPerl::PerlRun" (and which weren't already loaded prior to the
	   request) are executed on each and every request only if those mod‐
	   ules declare no package. If a package is declared "BEGIN" blocks
	   will be run only the first time each module is loaded, since those
	   modules don't get reloaded on subsequent requests.

       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".

perl v5.8.8			  2007-11-12	docs::api::ModPerl::PerlRun(3)
[top]

List of man pages available for CentOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net