perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <>
Subject Re: mod_perl and chroot
Date Sun, 10 Feb 2008 10:35:16 GMT
On Sun 10 Feb 2008, James Breat wrote:
> to resolve handler `ModPerl::Registry': Can't locate
> ModPerl/ in @INC (@INC contains:
> /usr/lib/perl5/5.8.8/i486-linux-thread-multi /usr/lib/perl5/5.8.8
> /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .
> /usr/local/srv/apache2) at (eval 2) line 3.\n"
> locate returns:
> /usr/lib/perl5/site_perl/5.8.8/i486-linux-thread-multi/ModPerl/

I don't think that is true for your new root. So either copy all needed 
modules to it or load them *before* the chroot call. AFAIK mod_chroot 
installs a PostConfig handler at APR_HOOK_REALLY_LAST+10, that means 
really_really_last. Anything before that runs in the original root and hence 
can load modules, see


View raw message