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
.
-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
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;
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
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
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.
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