-----Original Message----- From: Peter, Attila Sent: Mittwoch, 15. Februar 2006 12:46 To: 'Frank Wiles' Subject: RE: MP2 PerlTransHandler and VirtualHosts
Frank, I tried earlier default-handler with no luck. I got failed to resolve handler `default-handler' in the error log. The idea of virtual host is good. Actually I wanted to pack the stuff under a virtual server since that required some code change in modules but eventually I did it and it works as expected. Thanks, --Attila -----Original Message----- From: Frank Wiles [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Februar 2006 02:23 To: Peter, Attila Cc: modperl@perl.apache.org Subject: Re: MP2 PerlTransHandler and VirtualHosts On Tue, 14 Feb 2006 23:16:12 +0100 "Peter, Attila" <[EMAIL PROTECTED]> wrote: > Is there any method to restore Apache's default PerlTransHandler (or > in general any other handler) in VirtualServer container after a > PerlTransHandler was set up in the main server config? Yeah, you want to set in each of your virtual hosts this: PerlTransHandler default-handler If for some reason that doesn't work for you, the poor man's method would be to move your "main config" into another virtual host, and only use your PerlTransHandler in the vhosts you need it in. --------------------------------- Frank Wiles <[EMAIL PROTECTED]> http://www.wiles.org ---------------------------------