Plain text must work no matter what system you have *nix or win, so either your htaccess has hidden txt extension or you put it in wrong place, so try this
1. create folder test and folder protected in folder www
2. open notepad and paste these lines below:
AuthType Basic
AuthName "My Protected Area"
AuthUserFile c:/wamp/www/protected/.htpasswd
Require valid-user
3. save in folder test as ".htaccess"
Note: Make sure to enclose filename in double quote
4. create and save a dummy index.html in same folder test
5. create a test htpasswd file w/ this line
admin:test
6. save in folder protected as ".htpasswd"
Note: Make sure to enclose filename in double quote
7. check w/ "[
localhost];
Have fun,
FREE One A DayFREE PhotoFREE GamesFREE WebsitesFREE Portable GPSFREE WAMP Guides