perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: Error:- failed to resolve handler `Apache::PerlRun'
Date Tue, 18 Oct 2005 16:33:06 GMT
vivek@staff.ownmail.com 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 127.0.0.1] failed to resolve handler `Modperl::PerlRun':
Can't locate Modperl/PerlRun.pm 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/mod_perl.so
<Location /perl/>
        SetHandler perl-script
        PerlResponseHandler ModPerl::PerlRun
        PerlOptions +ParseHeaders
        Options +ExecCGI
</Location>

Next question, when you installed mod_perl 2
Did you
	a) make install
	b) install it outside of your perl lib tree
	
The startup.pl file you posted has to come before the <Location> Section.
http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlRequire_

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


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Mime
View raw message