I have been trying to password protect a directory using .htaccess and .htpasswd files, but keep receiving server configuration errors. My .htaccess file looks like this:
-----------------------------------------
AuthUserFile /nfs/WWW_pages/<user-name>/<domain-name>/.htpasswd
AuthGroupFile /dev/null
AuthName Secure
AuthType Basic
<limit GET>
require valid-user
</limit>
------------------------------------------'
I've placed a .htpasswd file in the root directory of my web file access. I've tried several variations of the AUthUserFile path. Any suggestions would be appreciated. Thanks.
Mark
-----------------------------------------
AuthUserFile /nfs/WWW_pages/<user-name>/<domain-name>/.htpasswd
AuthGroupFile /dev/null
AuthName Secure
AuthType Basic
<limit GET>
require valid-user
</limit>
------------------------------------------'
I've placed a .htpasswd file in the root directory of my web file access. I've tried several variations of the AUthUserFile path. Any suggestions would be appreciated. Thanks.
Mark