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.
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). 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? Thanks for any help, Arne :wq