[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: apache2::reload causing 500 errors on return statement


Michael Greenish wrote:
> I also had to make the follow addition to my config file:
> 
>         PerlInitHandler Apache2::Reload
>         PerlSetVar ReloadAll Off

With PerlSetVar ReloadAll Off, Apache2::Reload will _not_ reload anything by default.
You have to tell it specifically what to try and reload with something like:

PerlSetVar ReloadModules "MyModule::* Foo::*"

> I never figured out how to check if it was actually picking up changes on its own.

PerlSetVar ReloadDebug On

Will give you great details as to what gets reloaded and when.

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.