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
<Location/>
<Location /restricted>
SetHandler perl-script
AuthType MyAuth
AuthName MyAuthSupertight
PerlAuthenHandler MyAuth->authenticate
PerlAuthzHandler MyAuth->authorize
require user administrator
<Location/>
authenticate is working fine and when I debug the $r->requires in
authorize it only returns the 'valid user' requirement and not the "user
administrator" requirement even when i access /restricted. Right now
the code in authorize just prints the requirements via $r->log_error()
then returns OK; What am I missing? Why doesn't authorize see the
second requirement for the URI /restricted?