perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [MP2]: setting group for a request (require group ...)
Date Mon, 23 Jun 2008 12:23:40 GMT


titetluc titetluc wrote:
> Geoffrey, André,
> Thank you for your answer.
> 
> Conclusion: I will have to:
>  . write my own PerlAuthzHandler

yes

>  . define a new directive to define my group

no - you can overload the Requires directive.  the example I pointed you 
to shows you how:

   http://www.modperlcookbook.org/code/ch13/Cookbook/AuthzRole.pm

if you return OK or AUTH_REQUIRED the configured httpd authz handler 
will not be run, leaving your PerlAuthzHandler in control of the authz 
phase.

HTH

--Geoff

Mime
View raw message