oohoohoohooh
Programmer
Hi, I did a search on google to help password protect a directory. I tried the following files and placed them inside the folder I wish to password protect (c:/ and when I go to it asks me for the password but when I put the details (I generated the password using an online tool) it does not work. I've tried loads of different ways now but nothing seems to work. I'd appreciate if anyone could help. Thanks
Here's my last attempt.
.htaccess:
AuthUserFile "c:/AuthName "private zone"
AuthType Basic
<Limit GET POST>
require user lee
</Limit>
.htpasswd:
lee:bKWWuR6YzOcjs
<Limit GET POST>
require group admins
</Limit>
Here's my last attempt.
.htaccess:
AuthUserFile "c:/AuthName "private zone"
AuthType Basic
<Limit GET POST>
require user lee
</Limit>
.htpasswd:
lee:bKWWuR6YzOcjs
<Limit GET POST>
require group admins
</Limit>