Hi everyone,

Compared to some of the questions posted here, I'm still a relative
newbie with mod_perl. However, I rememeberd something here. Reading:

    http://perl.apache.org/docs/2.0/api/Apache/Reload.html

the Synopsis lists this:

  # Monitor and reload all modules in %INC:
  # httpd.conf:
  PerlModule Apache::Reload
  PerlInitHandler Apache::Reload
  
Do you have Apache::Reload set as your PerlInitHandler in your
httpd.conf? No mention was made of it in your snippets of your
httpd.conf.

--Joel

>Hi,
>
>This is probably a question that has been answered before but I couldn't
>find any useful info on the list history.
>
>Basically, I'm trying to get Apache::Reload to work properly (reload a
>PM module while Apache is running when the file has changed) with
>mod_perl 1.99. I read through the POD file and also some other examples
>on how it is supposed to work, but it still doesn't reload the PM files
>when I change the source.
>
>The PM files has the following header:
>
>package CS::Transformer;
>
>use Apache::Reload;
>
>use CS::Config;
>
>use strict;
>
>blah..blah..
>
>With the CGI file I've used the normal use CS::Transformer and also
>tried require CS::Transformer; CS::Transformer->import();
>
>And in httpd.conf:
>
>
>
>   <Location /perl-bin/>
>       SetHandler perl-script
>       PerlResponseHandler ModPerl::Registry
>       Options +ExecCGI
>       PerlOptions +ParseHeaders
>       PerlSetVar ReloadDebug On
>   </Location>
>
>Is there something that I am missing?
>
>Thanks,
>
>paul
>
>

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to