Hans Poo wrote:

> Please Help
> 
> One of my handlers do an:
> 
> $r->set_handlers( PerlInitHandler => undef);
> 
> Later in the same virtual host configuration there is another Directory 
> covering the URL /xxxx with this handler. 
> 
> PerlInitHandler "sub { my $r = shift; warn 'callback', $r->current_callback; 
> warn 'this should not be called'; } "
> 
> It happens that the callback printed in the above warn is: PerlInitHandler
> Exacty what i though was removed with: $r->set_handlers( PerlInitHandler => 
> undef);

you probably want to make that set_handlers() call explicit, then, to whatever 
phase you really mean, since PerlInitHandler isn't a real handler but an alias 
to others

$r->set_handlers( PerlPostReadRequestHandler => undef);
$r->set_handlers( PerlHeaderParserHandler => undef);

HTH

--Geoff

Reply via email to