I'm trying to password protect my website from ONE ip address. I just want to restrict an ip from accessing my website, but still allow them to access it if they have the password.
My current code .htaccess
AuthType Basic
AuthName "Login"
AuthUserFile /path/.htpasswd
Require valid-user
Order deny,allow
Deny from 1.1.1.1
Allow from all
Satisfy any
It doesn't work, I'm not sure why.