Log in



Tags » ‘about’

question about mod_perl….?

May 27th, 2010 by

Question by Dudeberry: question about mod_perl….?
I have Debian, and have installed apache2 and mod_perl2. However, how do you actually confiure apache so that all perl scripts are exceuted using Apache::PerlRun?

its driving me nuts..

thanks….

Best answer:

Answer by JakeCigar
I use apache2 and mod_perl2… I followed the instructions and now all my classic cgi programs run in mod_perl2.

LoadModule perl_module modules/mod_perl.so
PerlRequire /usr/local/apache2/perl/startup.pl


SetHandlerperl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options ExecCGI

are the main parts from my conf file.

What do you think? Answer below!


Powered by Yahoo! Answers