Hi:
I am trying to password protect a directory using .htaccess, but keep receiving an Internal Server Error. Here is the script I am using from your wiki:
AuthUserFile /nfs/WWW_pages/mylogin/mydomain.com/newsite/.htpasswd AuthGroupFile /dev/null AuthName MyPassword AuthType Basic <Limit GET> require user name </Limit>
I have tried several different path combinations to get it to work, without success, including /home/WWW_pages/mylogin/mydomain.com/newsite/.htpasswd
and
/home/WWW_pages/mylogin/newsite/.htpasswd
The htaccess file is in the directory I want to protect = /newsite/
Frankly, I tried a different but similar script from the internet on my localhost, and didn't succeed there either.
Any suggestions? Thanks much!
Rgds, Ned
I am trying to password protect a directory using .htaccess, but keep receiving an Internal Server Error. Here is the script I am using from your wiki:
AuthUserFile /nfs/WWW_pages/mylogin/mydomain.com/newsite/.htpasswd AuthGroupFile /dev/null AuthName MyPassword AuthType Basic <Limit GET> require user name </Limit>
I have tried several different path combinations to get it to work, without success, including /home/WWW_pages/mylogin/mydomain.com/newsite/.htpasswd
and
/home/WWW_pages/mylogin/newsite/.htpasswd
The htaccess file is in the directory I want to protect = /newsite/
Frankly, I tried a different but similar script from the internet on my localhost, and didn't succeed there either.
Any suggestions? Thanks much!
Rgds, Ned