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]
Doesn't seem to have helped. Before and after adding those lines to httpd.conf, a Data::Dumper call in global_init gives:
$VAR1 = bless( {
'on' => 0,
'Database' => [
'DBI:mysql:apache',
'apache',
'password'
],
'dead' => 0,
'ChunkSize' => '8000',
'TotalQuota' => '1966080',
'TotalBuffer' => 4
}, 'Apache::Regulate' );Which is precisely the default configuration.
For what it's worth, I ended up having to modify my output filter function to use this to load the full configuration:
my %conf=(
%{Apache::Module->get_config(__PACKAGE__, $f->r->server)},
%{Apache::Module->get_config(__PACKAGE__, $f->r->server,
$f->r->per_dir_config)}
);Might a similar mixing be necessary in global_init?
-- Brent "Dax" Royal-Gordon <[EMAIL PROTECTED]> Perl and Parrot hacker
Oceania has always been at war with Eastasia.
-- 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
