P is for Practical | |
PerlMonks |
Mod_Perl2: Cannot resolve handlerby cfreak (Chaplain) |
on Oct 30, 2005 at 15:20 UTC ( [id://504002]=perlquestion: print w/replies, xml ) | Need Help?? |
cfreak has asked for the wisdom of the Perl Monks concerning the following question: Hello all. Having just figured out Mod_Perl1 recently I've decided to try my hand at Mod_Perl2. I think I understand the changes and I've been able to get scripts to work under ModPerl::Registry, but now I'm trying to write a custom handler and I'm not having much luck. Everytime I try to access my handler from the browser I get a blank screen. In the log I get 'failed to resolve handler: My::Handler'. Searching around I found this typically happens when Apache can't find the module, however in all the examples I found online the error message in the logs said "Unable to find Whatever.pm in @INC etc etc etc ...". I tried intentionally breaking the path to my lib and indeed I got the rest of the error message. But when the path is correct (and a test of the syntax shows its correct too) I keep getting the error. I'm not sure where else to look. Here's the handler code:
Here's my Virtualhost configuration
Thanks for the help!
Back to
Seekers of Perl Wisdom
|
|