2018-05-14, 01:35 PM
Hello,
I would like a website to be accessed only with specific username and password and from a computer of a specific IP:
My .htaccess looks like that:
However, I discovered that in fact ANY IP can connect if has correct username and password..
What is the mistake in the code, can anybody help me?
Ramireo
I would like a website to be accessed only with specific username and password and from a computer of a specific IP:
My .htaccess looks like that:
Order deny, allow
Allow from MY-IP
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /PATH TO htpasswd/.htpasswd
Require valid-user
However, I discovered that in fact ANY IP can connect if has correct username and password..
What is the mistake in the code, can anybody help me?
Ramireo