Peter, Attila wrote: > I did return DECLINED since I've read the documentation > and it was clear to me that I had to return DECLINED, > however, the handlers seemed to get stacked. > > So what happens is that if my PerlTransHandler for virtual host > foo returns declined the My::Foo handler will still run and if > that one also returns DECLINED then will the apache's default handler
ah yeah, that's the way it's supposed to happen :) my bad. one possible solution is to try this <VirtualHost foo> PerlOptions -MergeHandlers PerlTransHandler My::Return::Declined </VirtualHost> if that doesn't work then you're left with the old solution - define what you want in each virtual host and nothing in the main server config. or even passing some sort of communication around via $r->notes. --Geoff