I\'m working on blocking a folder with .htaccess, which I\'ve never used before, and I\'m having some trouble. Here\'s what I have
.htaccess (located in the folder I
If you see 500 Internal Server error these days - it's mostly due to the fact that in newer Apache versions the path in AuthUserFile has to be put inside quotation marks.
500 Internal Server error
AuthUserFile
quotation marks
AuthUserFile "/var/www/somewhere/.htpasswd"