500 error after creating htpasswd and edit htaccess
Posted
by
bacord
on Server Fault
See other posts from Server Fault
or by bacord
Published on 2011-01-06T15:00:38Z
Indexed on
2011/01/06
15:55 UTC
Read the original article
Hit count: 232
I just edited the htaccess file to include:
AuthType Basic
AuthName "My Protected Area"
AuthUserFile /home/path/to/public_html/
Require valid-user
I then created a htpasswd file via the htpasswd command. I have enabled the module: LoadModule authn_file_module modules/mod_authn_file.so in the Apache configuration.
Now, when I load the page I now get a 500 error and apache log says "configuration error: couldn't check user. No user file?: /"
© Server Fault or respective owner