Hey All,
I've got a PerlTransHandler where I want to disable, under certain
circumstances (that is, whenever the content type isn't 'text/html') the
content handler. However, this code doesn't do the trick:
$r->handler('default-handler');
And neither does this:
$r->handler("perl-script");
$r->set_handlers('PerlHandler' => [ \&OK ])
Or even this:
$r->handler("perl-script");
$r->set_handlers('PerlHandler' => [ \&DECLINED ])
None of these snippets affects the content phase in any way; the
PerlHandler I install in httpd.conf gets executed every time, no matter
what. Can anyone tell me how I can disable my PerlHandler for the current
request?
Thanks,
David
--
David Wheeler AIM: dwTheory
[EMAIL PROTECTED] ICQ: 15726394
Yahoo!: dew7e
Jabber: [EMAIL PROTECTED]