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 Fletchera...@mail.nih.gov 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

Re: Running CGI scripts after mod_perl.

2009-06-26 Thread Anthony R Fletcher
. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKRSkbyzKhB4jDpaURArs/AKCwYDGegAmvQml1MpUaJF2LYQBEtwCfb8ET 6OE0366ojElzWlrg/GQPN2M= =IZvN -END PGP SIGNATURE- -- Anthony R Fletcher Room 2033

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;

Re: mapping URI to filename.

2008-08-19 Thread Anthony R Fletcher
Perfect. Thank you. Anthony On 19 Aug 2008 at 09:53:03, Geoffrey Young wrote: Anthony R Fletcher wrote: Thanks but that only works for the current request. I was looking for a way of translating some other URI to a pathname on the same server. $r-lookup_uri('/some/uri

Re: mapping URI to filename.

2008-08-18 Thread Anthony R Fletcher
Thanks but that only works for the current request. I was looking for a way of translating some other URI to a pathname on the same server. Anthony On 18 Aug 2008 at 15:26:53, Geoffrey Young wrote: Anthony R Fletcher wrote: Using mod_perl2, is there a way of mapping a URI

mapping URI to filename.

2008-08-16 Thread Anthony R Fletcher
Using mod_perl2, is there a way of mapping a URI to a filename or directory. I can get the root directory for the server and I can append the URI to it but this doesn't taking to account aliases, UserDir directives etc.. Any suggestions? Anthony.

what handler phase as we in?

2008-04-07 Thread Anthony R Fletcher
I have a module that does authentication and authorisation. In my Apache configs I have: PerlAuthenHandler Apache2::AuthX::authenticate PerlAuthzHandler Apache2::AuthX::authorise I'd rather just use: PerlAuthenHandler Apache2::AuthX PerlAuthzHandler