Overriding PerlAuthenHandler in sub-directories
[prev]
[thread]
[next]
[Date index for 2005/01/10]
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
 |
Overriding PerlAuthenHandler in sub-directories
Ferrari Geoffrey 12:56 on 10 Jan 2005
|