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

-- Ryan


----- Original Message -----
From: "Rodney Broom" <[EMAIL PROTECTED]>
To: "mod_perl list" <[EMAIL PROTECTED]>
Sent: Saturday, August 31, 2002 6:59 PM
Subject: $r->push_handlers('PerlAuthenHandler', 'Some::handler') doesn't
work


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.

---
Rodney Broom
President, R.Broom Consulting
http://www.rbroom.com/



Reply via email to