perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: $r->push_handlers('PerlAuthenHandler', 'Some::handler') doesn't work
Date Sun, 01 Sep 2002 18:32:04 GMT


Rodney Broom wrote:
> Hi all,
> 
> I'm sure I'm just missing something, but I'm stumped.
> 
> I've got an access handler that does some tests and then conditionaly does this:
> 
>   $r->push_handlers('PerlAuthenHandler', 'Some::handler');
>   return OK;
> 
> Some::handler() starts by printing the current callback to the error log, which never
happens if it's set to run in the 'PerlAuthenHandler'. If I change the push_handlers() to
use 'PerlFixupHandler', then Some::handler() gets called and I see it in the error log.
> 
> What am I doing wrong? I know it has to be me.


you probably don't have a Require directive in your httpd.conf for 
this particular <Location>.  Apache will not run the Authen or Authz 
phases unless there is a Require directive, no matter what you put 
onto the mod_perl handler stack.

HTH

--Geoff


Mime
View raw message