On Thu, 8 Aug 2002, Rick Myers wrote:

> On Aug 09, 2002 at 12:16:45 +1000, Cees Hek wrote:
>> Quoting Jason W May <[EMAIL PROTECTED]>:
>>> Running mod_perl 1.26 on Apache 1.3.24.
>>> 
>>> I've found that if I place my PerlChildInitHandler inside a VirtualHost
>>> block, it is never called.
>> 
>> It doesn't really make sense to put a PerlChildInitHandler
>> inside a VirtualHost directive.
> 
> Why? The Eagle book says this is a perfectly valid concept.

Well, for one thing, it would only call the handler if a request to that
virtual host was the first request for that child.  Assuming it works;
I'd think this would be a good canidate for a case that's never been
tested before, due to the fact that it would not call the handler if the
request that initiated the child was not to that virtual host...

It would fail to work in all cases if Apache does not recognize what
triggered the child until after child init.  Looking over pages 59
through 61, 72 and 73, this appears to me to be the case.  Yes, it does
explicitly say that it's ok in virtual host blocks, but it doesn't say
it works.

Ed

Reply via email to