I want to apply htaccess password protection to one of my my site http://manjotone.freehostia.com . When I go to above url it demands a username/password. Even if I fill correct username/password (test/test) it still does not show the site and the login box appears each time whether I fill correct or wrong username/password. How can I resolve this issue? The content of htaccess file is AuthName "Restricted Area" AuthType Basic AuthUserFile /home/www/manjotone.freehostia.com/.htpasswd AuthGroupFile /dev/null require valid-user And the content of htpasswd file is test:VKDgrEqD7TJBM I simply upload these files through FTP where my site exists .please suggest me what should I do to overcome this issue.
AuthUserFile path_to_password_file AuthGroupFile /dev/null AuthName RESTRICTED AuthType Basic <Limit GET POST> require valid-user </Limit>