I installed apache over windows, and I am trying to use a .htaccess file to password protect a directory. I create my .htpasswd file with the username and the crypted password and I have an .htaccess file like this:
allow from all
AuthType Basic
AuthUserFile c:/home/myweb/cgi-bin/.htpasswd
require valid-user
When I point my browser at http://localhost/ it asks me for the username and password, but it won't accept it. I keep getting an access denied page.
I have tested the same .htpasswd file in an apache server over Linux an it works, what could be the problem with windows?