I'm running Apache on a Fedora box and I've recently tried to add password protection to a directory using a .htaccess file. I'm also added the .htpasswd file with a user which is authorised to view that directory but Apache seems to be ignoring the fact that I have a .htaccess file in the directory I'm accessing from a web browser. Apaches configuration is setup to search for a .htaccess file before showing the contents of a directory.
Can you see anything wrong with this .htaccess file?
Regards,AuthName "Prove yourself"
AuthType Basic
AuthUserFile /directory/i/want/to/protect/.htpasswd
Require valid-user