[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Apache2::ServerRec->add_config and <VirtualHost> directives
From:       "Philippe M. Chiasson" <gozer () ectoplasm ! org>
Date:       2005-11-21 19:48:13
Message-ID: 4382247D.9050608 () ectoplasm ! org
[Download RAW message or body]


Arne Skjaerholt wrote:
> Hi all,
> I'm trying to write a system that writes its own config data to
> httpd.conf using Apache2::ServerRec->add_config from
> Apache2::ServerUtil, but I'm running into some troubles with
> <VirtualHost> directives.

Posting a short code sample might be usefull to better explain
what you are doing.

> The handler is running as a PostConfigHandler (I've also tried
> OpenLogsHandler), and it works fine until I try setting a <VirtualHost>
> directive, in which case the main server process segfaults (on OS X it
> says "Bus Error", but I'm assuming it's more or less the same thing).

Even better, try and make a self-contained example of this with geoff's
apache-test skeleton traball:

 http://people.apache.org/~geoff/bug-reporting-skeleton-mp2.tar.gz

> I've tried putting the PerlPostConfigHandler directive inside a
> <VirtualHost> directive, but in that case my handler doesn't get run.
> 
> Does anyone see what I could be doing wrong with this?

Report a more detailled bug
  http://perl.apache.org/docs/2.0/user/help/help.html#Important_Information

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic