Rodney Broom wrote:
> From: Ryan Parr <[EMAIL PROTECTED]>
>
>
>>If you have an access handler return OK, then the access handling stops.
>>Because that handler handled it.
>>
>>So as far as I know:
>> $r->push_handlers('PerlAuthenHandler', 'Some::handler');
>> return DECLINED;
>>
>>should work...
>
>
> Yeah, I tried that. I've also tried AUTH_REQUIRED, FORBIDDEN, and DONE. Since the
>authentication phase is after the access phase, my guess has been that the return
>from the access phase shouldn't effect the authentication phase. That is, of course,
>unless the access phase returns something like SERVER_ERROR. Right?
What happens if you do:
$r->set_handlers('PerlAuthenHandler', 'Some::handler');
could be that with push_handlers() you have some other handler that
takes over, before Some::handler has a chance to run.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com