perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Tennant <>
Subject Apache::Reload and INC path partialy working
Date Tue, 12 Aug 2003 01:25:57 GMT
I'm trying to do some development work with mod_perl and find 
restarting the server a pain.  So I setup Apache::Reload, but it 
doesn't seem to want to see my local devel directory all the time.

Here's my settings
Linux 2.4.20-8 (RedHat9 I think)

Here's my perl.conf (sourced by httpd.conf)

LoadModule perl_module modules/

PerlSetEnv PERL5LIB /home/bruce/public_html/ffball/myff
PerlSetVar INC /home/bruce/public_html/ffball/myff

PerlModule Apache2
PerlModule Apache::Reload
PerlInitHandler Apache::Reload

PerlSetVar ReloadDebug On
# PerlSetVar ReloadModules "FFMgr::*"

# This will allow execution of mod_perl to compile your scripts to
# subroutines which it will execute directly, avoiding the costly
# compile process for most requests.
Alias /perl /var/www/perl
<Directory /var/www/perl>
    SetHandler perl-script
    PerlHandler ModPerl::Registry::handler
    PerlOptions +ParseHeaders
    Options +ExecCGI
<Directory /home/bruce/public_html>
  <FilesMatch "\.(pl|pm|cgi)$">
    SetHandler perl-script
    PerlHandler ModPerl::Registry::handler
    PerlOptions +ParseHeaders
    Options +ExecCGI


The PerlSetVar INC line was a futile test.

Here's the problem.  It seems that the reload module is finding the 
local modules okay as it shows up in the error_log as checking the 
mtime.  But when they do change, it dies when it tries to reload 
them and says they aren't in the @INC path.

So it's like it is half working.

Has anyone else seen this problem and have a possible fix?


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
View raw message