Geoffrey Young wrote:

$r->set_handlers(PerlAuthenHandler => [\&OK]);


this is the correct approach - OK means "I authenticated" and lets apache
know that it should _not_ call mod_auth.

however, the symbol OK doesn't exist in your setup, so you are essentially
passing undef.  the proper solution is

$r->set_handlers(PerlAuthenHandler => \&Apache::OK);

I suppose because angie is using the mp1 legacy code via Apache::compat:

  use Apache::Constants qw(OK);

why not drop that and use the pure mp2 API? i.e. Apache::Const

--
__________________________________________________________________
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

Reply via email to