cannot open password file
I'm trying to password protect public_html on one of my domains and get an internal server error.
Apache log says
AH01620: Could not open password file: /home/xxxxxxxxxxx/.htpasswds/public_html/passwd
The file is actually there with 0755 permissions.
The odd thiong is, if I try this on a different domain it works.
Any ideas please ?
-
The file should have 644 perms in most cases /home/$user/.htpasswds/public_html
should be 755/home/$user/.htpasswds/
should be 750 Ownership on/home/$user/.htpasswd
should be user:nobody For/home/$user/.htpasswd/public_html/
it should be user:user and for/home/$user/.htpasswd/public_html/passwd
it should be user:user can you confirm that the permissions/ownership are the same?0 -
It was an ownership issue. Thanks 0
Please sign in to leave a comment.
Comments
2 comments