Re: Running CGI scripts after mod_perl.

2009-06-28 Thread Anthony R Fletcher
On 26 Jun 2009 at 19:57:10, Perrin Harkins wrote: > 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

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: 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: 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

Running CGI scripts after mod_perl.

2009-06-25 Thread Anthony R Fletcher
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 { return Apache2::Const::DECLINED; } 1; -