perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject Re: Error:- failed to resolve handler `Apache::PerlRun'
Date Tue, 18 Oct 2005 16:33:06 GMT wrote:
> Thanks for the response Mr. Philip M. Gollucci.
> I used
>     PerlResponseHandler Modperl::PerlRun 
> But it still wouldnot work . It gives the same kind of error again as under:-
> [Tue Oct 18 20:40:25 2005] [error] [client] failed to resolve handler `Modperl::PerlRun':
Can't locate Modperl/ in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.6/i686-linux-stdio/ModPerl
/usr/local/lib/perl5/5.8.6/i686-linux-stdio /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux-stdio
/usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl . /home/staff/install/httpd-2.0.54/prefork)
at (eval 4) line 3.\n
This should work:

LoadModule perl_module modules/
<Location /perl/>
        SetHandler perl-script
        PerlResponseHandler ModPerl::PerlRun
        PerlOptions +ParseHeaders
        Options +ExecCGI

Next question, when you installed mod_perl 2
Did you
	a) make install
	b) install it outside of your perl lib tree
The file you posted has to come before the <Location> Section.

Lastly, can you post the results of an
/bin/ls -l /usr/local/lib/perl5/5.8.6/i686-linux-stdio

     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
Philip M. Gollucci ( 301.254.5198
Consultant /
Senior Developer / Liquidity Services, Inc.

View raw message