I want to authentificate users (locally) in my /www.
- I created a .htaccess where I specify the location for .htpass;
- The .htpass is into a directory named usr - inside the www (www/usr);
- I created a user with a pass and I tried to acces the www. As I was expecting, the login window poped-up. But everytime I give the usr and the pass, the login window returns - and the info is good. After three times, a "Authorization Required" apear and that's all folks.
Where's the mistake? I give you the .htaccess to take a look, maybe is something about spelling (?!)
ErrorDocument 401 /usr/rejection.html
AuthUserFile /usr/.htpass
AuthName "GoaTranceRom"
AuthType Basic
require valid-user
thanx,
marian