I'm on a shell, and my web folder is located at
/home/w/waterfox/public_html. In there, I have a directory called
irclogs, which I'm trying to password-protect. It is chmodded to 755.
Here is the
.htaccess file that I placed in my public_html folder:
<Directory /home/w/waterfox/public_html/irclogs> AuthUserFile "/home/w/waterfox/public_html/.htpasswd" AuthType Basic AuthName "Restricted" Require valid-user </Directory>
When I try to access any part of my website, including stuff outside the
irclogs folder, I get a
500 Internal Server Error.
It doesn't seem to have anything to do with my .htpasswd file, because I can protect individual files with
<FilesMatch> just fine.