MP2 PerlTransHandler and VirtualHosts

2006-02-14 Thread Peter, Attila
Title: MP2 PerlTransHandler and VirtualHosts List, 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? Consider the following: PerlLoadM

Re: MP2 PerlTransHandler and VirtualHosts

2006-02-14 Thread Frank Wiles
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

Re: MP2 PerlTransHandler and VirtualHosts

2006-02-14 Thread Foo Ji-Haw
Title: MP2 PerlTransHandler and VirtualHosts I'd like to ask a question in tangent to yours: What happens you load a package via PerlPostConfigRequire? I usually 'require' a script, but if it is possible to execute a package instead, that may be better. - O

RE: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
Title: MP2 PerlTransHandler and VirtualHosts PerlPostConfigRequire is exactly a require. Note that I specified MyApp/DeviceProxy.pm instead of MyApp::DeviceProxy. The argument of PerlPostConfigRequire must be a filename. That can be an absolut one or just relative to your ServerRoot or @INC

FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
-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 lo

Re: MP2 PerlTransHandler and VirtualHosts

2006-02-16 Thread Frank Maas
On Thu, Feb 16, 2006 at 11:31:00AM -0500, Geoffrey Young wrote: > > > 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

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Frank Wiles
On Wed, 15 Feb 2006 12:46:37 +0100 "Peter, Attila" <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Peter, Attila > Sent: Mittwoch, 15. Februar 2006 12:46 > To: 'Frank Wiles' > Subject: RE: MP2 PerlTransHandler and VirtualHosts > > F

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Geoffrey Young
>>I tried earlier default-handler with no luck. I got failed to resolve >>handler `default-handler' in the error log. > > > Very odd. Anyone know if 'default-handler' isn't in MP2? default-handler is the default content handler, not the default for any random phase. it's also an httpd thin

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
Frank Wiles wrote: On Wed, 15 Feb 2006 12:46:37 +0100 "Peter, Attila" <[EMAIL PROTECTED]> wrote: -Original Message- From: Peter, Attila Sent: Mittwoch, 15. Februar 2006 12:46 To: 'Frank Wiles' Subject: RE: MP2 PerlTransHandler and VirtualHosts Frank

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread John ORourke
Wouldn't PerlTransHandler Apache2::Const::DECLINED be better in this case, so it will fall through to the default handler? Fred Moyer wrote: Very odd. Anyone know if 'default-handler' isn't in MP2? I can't say that it isn't, but maybe this will work: PerlTransHandler Apache2::Const::O

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
Very odd. Anyone know if 'default-handler' isn't in MP2? I can't say that it isn't, but maybe this will work: PerlTransHandler Apache2::Const::OK Scratch that response, it will keep the TransHandler from running which is not what you want. Use DECLINED per Geoff's response.

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Geoffrey Young
>> Very odd. Anyone know if 'default-handler' isn't in MP2? > > > I can't say that it isn't, but maybe this will work: > > PerlTransHandler Apache2::Const::OK I didn't take the time to read the entire thread, but based on the suggestion of using default-handler I figured the goal was somet

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Fred Moyer
PerlTransHandler Apache2::Const::OK I didn't take the time to read the entire thread, but based on the suggestion of using default-handler I figured the goal was something like this PerlTransHandler My::Foo # unset the above trans handler if that's the case then you want to return DECL

RE: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-16 Thread Peter, Attila
also returns DECLINED then will the apache's default handler run. --Attila -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Februar 2006 18:52 To: Geoffrey Young Cc: Frank Wiles; Peter, Attila; modperl@perl.apache.org Subject: Re: FW: MP2 PerlTransH

Re: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-16 Thread Geoffrey Young
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 wi