How can i make an htpasswd file using apache in Windows XP?
Also i used a working htpasswd file from my linux
partitions and it STILL didnt work. It asked for the user name and pass bout wouldnt accept it.
PLEASE dont tell me this cant be done :/
Thank you. And I actualy did find it before you replyed.
Now a new one. Ive made the passwords but apache cant FIND em. Here is my code in thre conf file:
<Directory "G:/Program Files/Apache/Apache/htdocs/winmember">
AuthName "Dream Team"
AuthType BASIC
AuthUserFile "G:/Program Files/Apache/Apache/bin/passwords"
require valid_user
</Directory>
And all diectories and file names are correct.
it will ask for the user and pass but wont accept it :/
I don't think the forward-slash path syntax is the issue. Since you and ifincham helped me get mine running, I've been successful with the following format for .htaccess:
Make sure the password file is in the directory to which you point. Also, someone in this forum noted that only *unencrypted* password files work in Windows. Haven't verified that myself, only that unencrypted does work for me. Make sure you create your password file unencrypted; then if it works, test it encrypted. Syntax for .htpassword is:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.