Posts Tagged ‘apache protect allow ip htaccess’

Allow from IP without passwd in htaccess

{ Posted on Jun 15 2011 by lucas }
If you want to protect a website from all ips with user/passwd except from one ip, this solves your problem: Order deny,allow Deny from all AuthName "Restricted area" AuthUserFile /home/website/path/.htpasswd AuthType Basic Require valid-user Allow from 172.17.10.1 Satisfy Any Apache power! Read More »