Hello,[...]
I'm writing a pure-Perl Apache 2 module that installs a few custom directives. Four of the directives are only useful in the server root (i.e. outside of any VirtualHost, Directory, etc. directives), but three others make sense within containers.
The directives seem to parse correctly, but when I try to access the configuration structure from a PostConfigHandler or ChildInitHandler, the resulting structure contains the default configuration, as if the directives had never been parsed at all. (I want a PostConfigHandler because I need to fork off a single background process for the entire server, and that seems like the easiest way to do so.)
At the very least, I'm looking for a good example of a module that does something like this, but if someone can help me with the specific problem I'm having, that'd be even better.
Even with a line in my httpd.conf like: PerlLoadModule Apache::Regulate RegulateDatabase 'dbi:mysql:apache' apache [redacted]
Please try:
<Perl> # start perl early </Perl> PerlLoadModule Apache::Regulate RegulateDatabase 'dbi:mysql:apache' apache [redacted]
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html