You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stathy Touloumis <st...@edventions.com> on 2002/01/04 18:42:27 UTC

More Strange Behavior

Hello,

I have currently added cutom apache directives using
'Apache::ModuleConfig,Apache::ExtUtils' and have come across some strange
behavior when trying to use a custom mod_perl handler that worked fine
before.  I get this error :
[Fri Jan  4 11:39:25 2002] [error] Uncaught exception from user code:
        Undefined subroutine &MyModule::Server::Content::handler called.
        eval {...} called at /dev/null line 0

which is strange even after I modified the subroutine 'handler' within
'MyModule::Server::Content' to be as basic as :
sub MyModule::Server::Content::handler { return Apache::Constants::OK; }

The module which contains the custom directive callback routines is in
MyModule::Server.

When commenting out :
#PerlFixupHandler MyModule::Server::Fixup
#<Files *.html>
#	SetHandler perl-script
#	PerlHandler MyModule::Server::Content
#</Files>

Pages are returned fine . . .

Any help would be appreciated.