htaccess password not working
Hi,I have a standard apache 2.0.36 and want to enable password protection for a domain with a htaccess file
When i put this in the htaccess file :
AuthName "Some name"
AuthType Basic
AuthUserFile /usr/sites/domain.com/cgi-bin/admin/.htpasswd
AuthGroupFile /dev/null
<Limit GET POST>
require valid-user
</Limit>
It seems to work. I get a popup box asking for the password, but when i enter the username and pass i created with htpasswd it doesn't work, it just returns to the popup box again. After three times it gives the error validation failed.
Any suggestions on what might cause this??
Thanks