Spinal
MB Enthusiast
- Joined
- Sep 14, 2004
- Messages
- 4,806
- Location
- between Uxbridge and the Alps
- Car
- x254, G350, Duster, S320, Mach1, 900ss and a few more
I need to secure a directory... nothing too private, but I would like a simple password...
So I'm using the .htaccess support in Apache, but am having some issues...
this is my .htaccess file (permissions 0600)
and I've created a password file using htdigest:
passwd(0700)
Needless to say, I've edited the hash to get a bit of privacy
Any ideas what my issue is? When going to that directory I get an error 500 (internal server error...)
M.
So I'm using the .htaccess support in Apache, but am having some issues...
this is my .htaccess file (permissions 0600)
Code:
AuthType Digest
AuthName "Private"
AuthDigestFile "/home/root/.htpasswds/public_html/website1/private/passwd"
require valid-user
and I've created a password file using htdigest:
passwd(0700)
Code:
Spinal:Private:aaaaaaaaaa3b66dd54f253aaaaaaaaaa
Needless to say, I've edited the hash to get a bit of privacy

Any ideas what my issue is? When going to that directory I get an error 500 (internal server error...)
M.