[users@httpd] Location Conflict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux