Monday, September 9, 2013

Password Protected directory not working

Password Protected directory not working

My password protected directory is not working. i have setup the .htaccess
file withing the directory to make it protected. i have placed .htpasswd
file in the root. setup the path for .htpasswd in .htaccess but after
entering true password it still ask for password. i have put encrypted
password in .htpasswd.
my .htaccess code
AuthName "Please Login"
AuthType Basic
AuthUserFile /home/public_html/.htpasswd
require valid-user
please tell me what i am doing wrong or what should i check

No comments:

Post a Comment