Simple .htaccess question


#1

So I just want to protect one file … the index file in one directory using .htaccess - I used the option but am getting the error “401 Authorization Required” when going to the page, or anywhere in the domain. It appears it is not recognizing the option. Below is my entire .htaccess file

AuthType Basic
AuthUserFile /home/crew0791/jimthebrand.com/projects/.htpasswd
AuthName “Password”
<FilesMatch “index.html”>
require valid-user