AuthBasic - Adding one Exception

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

 



Hi All,
 
I am using Apache configured with mod_auth_basic module. I added the AuthType Basic and other related information in <Location />.
This is protecting all accesses to all locations in WebServer. Now i want to add one exception for a particular page /xyz, if it is accessed from a particular host abc
I tried putting a separate <Location /xyz> and used Allow, Require and Satisy Any directives. It did not work and still asks for credentials. Is there a way to allow this kind of exception? Please advice.
 
This is what am using now
<Location />
AuthType Basic
AuthName TEST
AuthUserFile "location to user file"
Require valid-user
</Location>
<Location /xyz>
    Require valid-user
    Order allow,deny   
    Allow from abc
    Satisfy Any
</Location>
 
Thanks in advance

Regards
Prasanna Ram

[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