perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lathan Bidwell <lat...@andrews.edu>
Subject Re: Apache 2.4: scope of PerlAddAuthzProvider
Date Wed, 22 Apr 2015 13:47:58 GMT
You are correct, the new setup thinks of it as setting up global AuthZ
handlers.

Make sure to name the provider with a good identifier (i.e.: thisAppUser,
GlobalLoginUser, ....)

A great many people would benefit from updating the documentation on these
changes. But I think people are focusing on making sure it builds properly
on different environments.

Lathan


On Wed, Apr 22, 2015 at 3:37 AM, Jie Gao <J.Gao@sydney.edu.au> wrote:

> OK, I suppose I can add the provider globally, but not actually start to
> use it until I call the module within a container.
>
> And it should be "PerlAddAuthzProvider user My::MyAuth::AuthCookie->authz"
> as well.
>
>
> Regards,
>
> Jie
>
> * Jie Gao <J.Gao@sydney.edu.au> wrote:
>
> > Date: Wed, 22 Apr 2015 17:23:10 +1000
> > From: Jie Gao <J.Gao@sydney.edu.au>
> > To: modperl@perl.apache.org
> > Subject: Apache 2.4: scope of PerlAddAuthzProvider
> > User-Agent: Mutt/1.5.21 (2010-09-15)
> >
> > Hi
> >
> > When I put the following line within a "Location" section:
> >
> >     PerlAddAuthzProvider user My::MyAuth::AuthCookie->authen
> >
> > I get an error:
> >
> >     "AH00526: Syntax error on line 545 of
> /usr/local/httpd-2.4.12/conf/httpd.conf: PerlAddAuthzProvider not allowed
> here"
> >
> > . But if I put it outside the container, it'll apply globally to
> everything and that is not what I want.
> >
> > Can somebody clarify this?
> >
> >
> > Regards,
> >
> > Jie
>

Mime
View raw message