apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::ModPUser:Contributed Peapache_mod_perl-108~358::mod_perl-2.0.7::docs::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::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:
o "BEGIN" blocks defined in scripts running under the "ModPerl::PerlRun" handler are executed on each and every request.
o "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 modules 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.16.2 2011-02apache_mod_perl-108~358::mod_perl-2.0.7::docs::api::ModPerl::PerlRun(3)
hi frnds
here i m trying to configure OTRS instance but i m getting the following error message
while runnning through browser.
I m writing the following http://192.168.1.55:8080/otrs2/index.pl
"
#!/usr/bin/perl -w... (7 Replies)
hi frnds
i m getting this error whenever i m trying to run otrs in my web browser.
http://ipaddr /otrs/index.pl
"
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your... (1 Reply)
I am getting this error message once I added some lines to a directive in my httpd.conf file. I double checked and made sure their weren't any typos
Snytax error line 468 Invlaid command PerlHandler perhaps misspelled or defined by a module not included in the server configuration. Here is what I... (10 Replies)
I have installed fedora 9 and trying to run .pl (perl files) from browser.
I have below RPM installed:
----------------------------------
httpd-2.2.8-3.i386
mod_perl-2.0.3-21.i386
$cat /etc/httpd/conf.d/perl.conf
LoadModule perl_module modules/mod_perl.so
Alias /perl /var/www/perl... (4 Replies)
Dear all;
kindly need your help in knowing what is the problem in scenario below:-
1- I have Strawberry Perl (version 5.12.0) installed on my win32 PC.
2- I have Apache server (version 2.2.16) installed on my PC as well.
I tried to install mod_perl2 using CPAN... (2 Replies)