sterling <[EMAIL PROTECTED]> writes:

> On 16 May 2001, Chris Strom wrote:
> 
> > Mike Cameron <[EMAIL PROTECTED]> writes:
> > 
> > > Is it possible to have the same PerlAuthzHandler use different require's
> > > 
> > > on a subdirectory once a user has been authorized for a parent
> > > directory? Here is what i would like to be acle to do:
> > > 
> > > <Location />
> > > SetHandler perl-script
> > > AuthType MyAuth
> > > AuthName MyAuth
> > > PerlAuthenHandler MyAuth->authenticate
> > > PerlAuthzHandler MyAuth->authorize
> > > require valid-user
> > 
> > How about:
> > 
> > require valid-user administrator
> > 
> 
> 
> 
> no - he just wants valid-user for the root location

The MyAuth::authorize handler can be modified to reject user administrator
unless the URI matches ^/admin (or whatever it was, sorry I cut that off in
my earlier reply).

> 
> 
> 
> > > <Location/>
> > 
> > shouldn't this be </Location>?  
> > 
> 
> 
> no.
> 

I'm pretty sure that it should be.  This closes the <Location /> tag.

> 
> 
> sterling

Reply via email to