sKunKbad Posted January 2, 2008 Share Posted January 2, 2008 I've tried going in to my httpd.conf file and changing the AllowOverride to All in a couple places. I'm checking to see if everything is working fine, and when I try to access a protected folder, I am prompted for a username and password, but when I enter them it asks me for them again as if they were wrong. For testing purposes I used "username" and "password" (username:MQGO990.8Fl.c) in the .htpassword file, and I have the .htaccess set like so: AuthUserFile C:\wamp\www\siteOne\.htpasswd AuthName "Confidential" AuthType Basic require valid-user What am I missing? The error log says: [Tue Jan 01 22:19:55 2008] [error] [client 127.0.0.1] user username: authentication failure for "/siteOne/confidential/index.php": Password Mismatch Link to comment https://forums.phpfreaks.com/topic/84065-htaccess-htpassword-on-my-machine/ Share on other sites More sharing options...
sKunKbad Posted January 2, 2008 Author Share Posted January 2, 2008 OK, I figured out that if my raw password is in the .htpasswd file it will work. How do I make apache check for an encrypted password? Link to comment https://forums.phpfreaks.com/topic/84065-htaccess-htpassword-on-my-machine/#findComment-427918 Share on other sites More sharing options...
mr_mind Posted January 9, 2008 Share Posted January 9, 2008 "AuthType Basic" "AuthType Digest" Link to comment https://forums.phpfreaks.com/topic/84065-htaccess-htpassword-on-my-machine/#findComment-434327 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.