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....@sydney.edu.au> wrote:

> Date: Wed, 22 Apr 2015 17:23:10 +1000
> From: Jie Gao <j....@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 

Reply via email to