Can anybody tell me how to set htaccess user authentication on a Windows OS. I have changed the httpd.conf file to
AccessFileName htaccess.file
Here is my htaccess file content
ErrorDocument 404 /404.php
AuthName "admin section"
AuthType Basic
AuthUserFile http://localhost/beyond/htpasswd.txt
Require valid-user
I dont get any redirection to my 404.php page if i enter an invalid url and i dont get a login prompt.
Thanks in advance.