Skip to navigation
How to protect a apache2 folder but allow from local IPs without asking passwords
29.04.14
the ip range what will not get ask for password is 192.168.80.0 - 192.168.80.255 or 192.168.80.0/24
Order deny,allow Deny from all AuthType Basic AuthName "Protected" AuthUserFile /file_path_to_password.htpasswd require valid-user Allow from 192.168.80.0/24 Satisfy Any
http://www.askapache.com/htaccess/apache-authentication-in-htaccess.html
Reply
Anonymous
Information Epoch 1795441767
Data dominates.
Home
Notebook
Contact us