Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Perrin Harkins
On Fri, Jun 26, 2009 at 6:36 PM, Anthony R Fletcher wrote: > Perrin asks what am I doing. I want to create a custom directory listing > and modify the output of various file formats when they match a > particular regexp. All the other files (like CGI scripts) should pass > through untouched to be d

Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Anthony R Fletcher
Thanks for the suggestion, Philippe, but Perrin is right and it seems to be too late to change the handler (I just tried it). Actually I can 'fix' the issue by putting SetHandler cgi-script in the .htaccess file along with the 'SetHandler modperl'. This side step

Re: Apache crashes relatively often

2009-06-26 Thread André Warnier
Perrin Harkins wrote: On Wed, Jun 17, 2009 at 2:24 PM, fREW Schmidt wrote: We are having weird memory leak issues with Apache and some mod_perl. When you mention "some mod_perl", can you be a bit more specific about which perl modules you are using ? I have had problems of the same nature wit

Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Philippe M. Chiasson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 26/06/09 15:55 , Perrin Harkins wrote: > On Thu, Jun 25, 2009 at 5:51 PM, Anthony R Fletcher wrote: >> I have a mod_perl 2 module, running in Apache 2.2, >> >> - >> package Apache2::; >> >> use 5;

Re: Apache crashes relatively often

2009-06-26 Thread Perrin Harkins
On Wed, Jun 17, 2009 at 2:24 PM, fREW Schmidt wrote: > We are having weird memory leak issues with Apache and some mod_perl. > Basically what happens is that, depending on load, we eventually run out of > ram and apache crashes.  We have the setting that will restart apache after > a given numer of

Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Perrin Harkins
On Thu, Jun 25, 2009 at 5:51 PM, Anthony R Fletcher wrote: > I have a mod_perl 2 module, running in Apache 2.2, > > - > package Apache2::; > > use 5; > use strict; > > use Apache2::Const -compile => qw(DECLINED); > > sub handler > { >        retur

Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Philippe M. Chiasson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25/06/09 17:51 , Anthony R Fletcher wrote: > I have a mod_perl 2 module, running in Apache 2.2, > > - > package Apache2::; > > use 5; > use strict; > > use Apache2::Const -compile => qw(DECLINED