apache: bypass authentication for a specific ip
Posted
by
Tevez G
on Server Fault
See other posts from Server Fault
or by Tevez G
Published on 2012-06-19T14:21:19Z
Indexed on
2012/06/19
15:18 UTC
Read the original article
Hit count: 174
apache2
In Apache I have set basic authentication for /protected location. Now i need to bypass authetication for a specific ip address but keep auth for others intact. Can anyone guide me on this one. Here is my current snippet of auth protected location.
Location "/protected" Order allow,deny Allow from all
AuthName "Protected folder" AuthType Basic AuthUserFile /etc/htpasswd require valid-user /Location
© Server Fault or respective owner