Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: mod perl installed but not running

mike cardeiro

2012-02-07

Replies: Find Java Web Hosting

Author LoginPost Reply

> From: Dave Hodgkinson <davehodg@(protected)>
>
>What's MaxRequestsPerChild?
>


MaxRequestsPerChild 10000

...I think I may have figured out the problem.  I think mod perl is running but my scripts are not using it.  I added


<Directory "/home/secret34/public_html/cgi-bin">

    SetHandler perl-script
    PerlResponseHandler ModPerl::Registry
    Options +ExecCGI

 </Directory>

to httpd.conf now my scripts get the following error
slurp_filename('/home/secret34/public_html/cgi-bin/login.cgi') / opening: (13) Permission denied at /home/secret34/lib/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 541

progress.  I assume this is happening because my script permissions are 700 under the user that owns

'/home/secret34/public_html/cgi-bin/'

guess I have more playing around to do. I want the scripts to run as if run by that user.

Mike Cardeiro
©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.