Hi,
If I have activated a PerlAuthenHandler for a directory in httpd.conf with
<Location /foo> ... PerlAuthenHandler My::Handler </Location>
How can I deactivate this PerlAuthenHandler for a subdirectory, such as /foo/bar ?
The online mod_perl docs explain that PerlHandlers can be deactivated for subdirectories by setting PerlHandler default-handler (when SetHandler has been set to perl-script), but either my problem lies elsewhere, or it is not possible to have:
<Location /foo/bar>
....
PerlAuthenHandler default-handler # nor indeed 'PerlAuthenHandler none'
</Location>.
All advice gratefully received. (I'm trying to set up authentication using Apache::AuthCookie. Since I want to avoid clunky URLs like www.example.com/protected/... I want to activate authentication for the root directory. The only problem is that the login form where the user types in his username and password has to be submitted to a location below root (e.g. /LOGIN), which of course, can't be done until the user has logged in...)
Regards,
Geoffrey Ferrari