Here's what I have:
Code: Select all
<Directory "/var/www/my/directory">
AuthUserFile /var/www/my/directory/.htpasswd
order allow,deny
require user bob
Authname "Login For Bob"
Authtype Basic
AllowOverride All
allow from .mylocation.com
</Directory>At the moment, the above always asks for a password, even though I am connecting from mylocation.com.
Any suggestions / advice / glaring errors?