On Tue, 16 Dec 2003 11:55:38 -0500, Patrick LeBoutillier wrote: > What is happening is even if one handler returns OK, the other ones are > still invoked. > > I was able to get around this by creating a meta handler as such: > > PerlTransHandler Apache::ASP::MetaTransHandler > PerlSetVar MetaTransHandlerMap "\ > /secure/ => Apache::ASP::Cascade, \ > /reports/ => Apache::ASP::ReportProxy, \ > /rimages/ => Apache::ASP::ReportProxy"
That's pretty much what I do, except that my meta handler is configured with a custom directive. This means that I can seperate out the config so that each trans handler config line is next to the rest of the config for that location. > Has anyone succesfully used multiple PerlTransHandlers? > Is there anyway to "localize" (i.e. <Location>) them so that they are > not always invoked? I don't think <Location> works until later phases, but I could be wrong. -- Peter Haworth [EMAIL PROTECTED] If at first you don't succeed, failure may be your thing. -- Warren Miller -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html