I'm trying to restrict access to a folder with .htaccess, and I'm having some deep trouble. Here's what I have so far:
.htaccess (located in the website root):
AuthName "Username and password required"
AuthUserFile /.htpasswd
Require valid-user
AuthType Basic
.htpasswd (also located at root):
my_name:my_hashed_password
I'm getting 500 Internal Server error with this and I can't understand why, any ideas?