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
Chiasson wrote:
> -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,
> >>
> >> --
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
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
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.
Hello Philippe
Perfect - thanks.
Anthony
On 07 Apr 2008 at 16:39:02, Philippe M. Chiasson wrote:
> Anthony R Fletcher wrote:
>> I have a module that does authentication and authorisation. In my Apache
>> configs I have:
>>
>> PerlAuthenHandler A
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 Apache2::Aut