password protection
I want to password protect one section of my site and everyone said that .htaccess is great on apache servers. I tried it, and now I can't access it. When I press the OK button a new query pop up and after that I get: Authorization Required
This is my .htaccess file:
AuthUserFile /var/www/html/mysection/.htpasswd
AuthName mysection
AuthType Basic
<Limit GET>
require valid-user
</Limit>
And this is the .htpasswd file:
username:password
Anyone that recognize this problem??
|