Sid3335
06-27-2006, 04:57 AM
Hi Guys:
I have wamp running on windows XP, i access my root using http://locahost.
the directory is C:\wamp\www.
i have a sub directory called cms within the www.
in the cms folder i have an .htaccess & .htpasswd file.
AuthType Basic
AuthName "Restricted Directory"
AuthUserFile /.htpasswd
Require valid-user
and
admin:44e3sjT6uByps
when i go to http://localhost/cms the login prompt appears and asks for my user name and password. so the .htaccess file is working as it should.
unfortunately it does not accept my login attempts and states authentication failure.
i think its not seeing my .passwd file, but i have no idea. it could be the AuthUserFile not being set correctly.
what should i have in here? are there any other reasons why this shouldn't work?
thank guys
I have wamp running on windows XP, i access my root using http://locahost.
the directory is C:\wamp\www.
i have a sub directory called cms within the www.
in the cms folder i have an .htaccess & .htpasswd file.
AuthType Basic
AuthName "Restricted Directory"
AuthUserFile /.htpasswd
Require valid-user
and
admin:44e3sjT6uByps
when i go to http://localhost/cms the login prompt appears and asks for my user name and password. so the .htaccess file is working as it should.
unfortunately it does not accept my login attempts and states authentication failure.
i think its not seeing my .passwd file, but i have no idea. it could be the AuthUserFile not being set correctly.
what should i have in here? are there any other reasons why this shouldn't work?
thank guys