[PATCH] Apache::DBI - Disconnect on child exit

2009-07-20 Thread Nick Wellnhofer
Currently, Apache::DBI never disconnects from the database. This leads to the following warnings in my Postgres logs every time an Apache child exits: LOG: unexpected EOF on client connection Depending on MaxRequestsPerChild this can really spam your Postgres logs. Attached is a patch against

Re: rewriterule, location, and perlhandler

2009-07-21 Thread Nick Wellnhofer
Eric Lease Morgan wrote: > What am I doing wrong? Does an actual file need to exist in order for > mod_perl to find it? No. > How should I edit httpd.conf so I can: 1) rewrite > GET requests, and 2) execute the result in a mod_perl module? Try the mod_rewrite "passthrough" (PT) flag: Rewrit

[mp2] Installation problem with static build

2005-01-22 Thread Nick Wellnhofer
When I run "perl Makefile.PL" to configure a static mod_perl2 build and have an older version of Apache already installed in the --prefix directory, I get the following error message: Configuring Apache/2.0.52 mod_perl/1.999.21 Perl/v5.8.5 [ error] Can't find apr include/ directory, [ error] u

[mp2] aborted() method doesn't work in RC5

2005-04-28 Thread Nick Wellnhofer
I get the following error message if I try to call the method aborted() using the new RC5: Can't locate object method "aborted" via package "Apache2::Connection" RC4 worked fine. Nick -- aevum gmbh leopoldstr. 41 80802 münchen germany fon: +4989 38380653 [EMAIL PROTECTED] http://aevum.de/

[MP2] Installation instructions

2005-05-20 Thread Nick Wellnhofer
The MP2 installation instructions say: (http://perl.apache.org/docs/2.0/user/install/install.html#MP_USE_STATIC) MP_USE_STATIC Build static mod_perl (mod_perl.a). This is the default. It'll be turned off if MP_USE_DSO=1 is used. I think the last two sentences are wrong. I still had to suppl