|
Answer» I have the FOLLOWING file called .htaccess and I am trying to PASSWORD protect my file online, but it just brings up file without asking for username or password is there anything wrong with what I have below in my .htaccess file?
John
AuthUserFile /password/.htpasswd AuthGroupFile /dev/null AuthName "Password PROTECTED Area" AuthType Basic
<limit GET POST>
</limit>
AuthUserFile /password/.htpasswdDid you create the .htpasswd file? May want to see below link for all the steps involved in doing this. Simply creating the .htpasswd file will not create a password.
http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/
Also your ISP may have an automated service for your that will allow you to easy enable this without having to manually do this on the server. May also want to look into this.
|