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
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
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
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
-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
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
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
>>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
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
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
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.
>> 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
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
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
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
15 matches
Mail list logo