Hi all,

this is my scenario:

* /var/www/html as DocumentRoot;
* no vhost (actually, but I can create them);
* for <Location />, something like:

####################################################
PerlAuthenHandler xxx
AuthType xxx
AuthName xxx
Require valid-user
PerlSetVar xxx
PerlSetVar xxx
####################################################

it permit a transparent authentication for users in a lan.
I need to have an IP without transparent authentication.

If I setup:

Alias /auth /var/www/html

<Location />
 #No auth
</Location>

<Location /auth>
 #Auth enabled
 PerlAuthenHandler xxx
 AuthType xxx
 AuthName xxx
 Require valid-user
 PerlSetVar xxx
 PerlSetVar xxx
</Location>

every works fine: if I access to / location transparent auth doesn't
works, but when I access to /auth/... it works fine.
Well, I need to have the contrary situation:

Location /
for transparent auth

and

Location /adm
for no auth applied

but "Location /" is matched as first and "Location /adm" is never considered.
How can I bypass this problem?!

Regards.
fRANz

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to