500 error after creating htpasswd and edit htaccess
- by bacord
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?: /"