Re: Zip on the fly problem

2010-01-13 Thread André Warnier
Thanks guys for this informative thread. I use Archive::Zip extensively, including in mod_perl context. I have not encountered this problem yet, but will now make sure to keep an eye open for it when I upgrade my systems. Thomas den Braber wrote: Yes I am sure that second argument is false. I

Re: Apache Blank Pages

2010-01-13 Thread 陈建春
what is your apache's mpm? worker or prefork? Our site sometimes also rise similar error(like glibc detected ... in error log ) under worker mpm. *陈建春 | ChenJianchun* 傲游Web应用部 E-mail: chen...@maxthon.net *Maxthon^® * --每个人的互联网中心! 上网从傲游开始! 傲游天下科技有限公司(中国)

RE: SetHandler perl-script not working

2010-01-13 Thread Kevin Thorpe
I tried stripping everything out as suggested and ended up with only the basic httpd.conf and perl.conf installed, still no joy. Why is it looking for index.php when I'm assking for a perl script? Config in pastebin. thanks ==> /var/log/httpd/access_log <== 10.20.11.148 - - [13/Jan/2010:12:26:

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
It's prefork Apache/2.2.3 (Debian) PHP/4.4.4-8+etch6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 I've isolated the problem, you guys will say I'm crazy but I can reproduce the results over and over again. If I try to connect to a DB in that 2nd virtual host I have the problem. If I

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
It's prefork Apache/2.2.3 (Debian) PHP/4.4.4-8+etch6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.8 I've isolated the problem, you guys will say I'm crazy but I can reproduce the results over and over again. If I try to connect to a DB in that 2nd virtual host I have the problem. If I

Re: SetHandler perl-script not working

2010-01-13 Thread Cosimo Streppone
On Wed, 13 Jan 2010 13:28:03 +0100, Kevin Thorpe wrote: I tried stripping everything out as suggested and ended up with only the basic httpd.conf and perl.conf installed, still no joy. Why is it looking for index.php when I'm assking for a perl script? Config in pastebin. You happen to have

RE: SetHandler perl-script not working

2010-01-13 Thread Kevin Thorpe
Sorry, forgot to strip out. Was commented out for test and I had to put it back to get my site working. RewriteEngine wasn't on anyway and I was watching rewritelog (level 9) as well as access_log and error_log so no rewrite there > -Original Message- > From: Cosimo Streppone [mailto:co

Re: SetHandler perl-script not working

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 7:28 AM, Kevin Thorpe wrote: > I tried stripping everything out as suggested and ended up with only the > basic httpd.conf and perl.conf installed, still no joy. There's still a ton of stuff in there. You need to take all of the Files, Location, and Directory stuff out to

Re: Apache Blank Pages

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 7:28 AM, cfaust-dougot wrote: > If I try to connect to a DB in that 2nd virtual host I have the problem. If > I make no connection then there is no problem. Also if I connect to the same > DB that the 1st virtual host does, then there is no problem. It's only when > I try t

Re: SetHandler perl-script not working

2010-01-13 Thread Douglas Sims
Is that rewrite rule (~line 101) turning everything into an index.php? Sent from my gPhone On Jan 13, 2010 11:02 AM, "Perrin Harkins" wrote: On Wed, Jan 13, 2010 at 7:28 AM, Kevin Thorpe wrote: > I tried stripping everything out as suggested and ended up with only the > basic httpd.conf and

RE: SetHandler perl-script not working

2010-01-13 Thread Kevin Thorpe
Sorry, I had taken that out to test but forgot to strip from the pastebin. That's there for Drupal which is just a huge clever 404 script. From: Douglas Sims [mailto:ratsb...@gmail.com] Sent: 13 January 2010 17:10 Cc: modperl@perl.apache.org; Kevin Thorpe Subject: Re: SetHandler perl-script not

Caveats to using Perl Sections for server configuration?

2010-01-13 Thread Boysenberry Payne
I'm using blocks in my apache conf files for early server configuration. I remember reading someone on this list saying they wouldn't use Perl Sections at all. The main reason I chose to use them to initialize some of my server configuration was to allow for relative addressing to the .conf file

Re: Caveats to using Perl Sections for server configuration?

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 3:22 PM, Boysenberry Payne wrote: > I'm using blocks in my apache conf files for early server > configuration. > I remember reading someone on this list saying they wouldn't use Perl > Sections at all. That might have been me. I don't like to use them. I find it simpl

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
Do you mean on apache startup? I'm not calling DBI or DBD in startup.pl. Any other module would be after the fork, wouldn't? Thanks!! From: Perrin Harkins [mailto:phark...@gmail.com] Sent: Wed 1/13/2010 12:07 PM To: cfaust-dougot Cc: ???; modperl@perl.apache.or

Re: Apache Blank Pages

2010-01-13 Thread Perrin Harkins
On Wed, Jan 13, 2010 at 5:31 PM, cfaust-dougot wrote: > Do you mean on apache startup? I'm not calling DBI or DBD in startup.pl. Any > other module would be after the fork, wouldn't? Some modules (e.g. Class::DBI) will open a connection when you use them. If you're loading any modules at all in

RE: Apache Blank Pages

2010-01-13 Thread cfaust-dougot
Ouch, that could get messy. Below is what I currently call in startup, by any chance does anything pop out at you? Other wise I'll start going though them one at a time. Thanks Perrin use ModPerl::MethodLookup; ModPerl::MethodLookup::preload_all_modules( ); use ModPerl::Util ( ); #for CORE::

Re: Caveats to using Perl Sections for server configuration?

2010-01-13 Thread Boysenberry Payne
Do you know if the scope of Perl Sections are the same as when using a startup.pl? -bop On Jan 13, 2010, at 2:15 PM, Perrin Harkins wrote: > On Wed, Jan 13, 2010 at 3:22 PM, Boysenberry Payne > wrote: >> I'm using blocks in my apache conf files for early server >> configuration. >> I remembe

Re: intermittent segfaults, ssl?

2010-01-13 Thread Mark Copper
Despite what I said, this seems to be CPAN bug 37027 or, in my case, Debian bug #520406 involving module DBD-mysql. Mark On Tue, Jan 12, 2010 at 12:24:17PM -0600, Mark Copper wrote: > Hi, > > I have a server like this: > Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g >