Jump to content

.htaccess / .htpassword on my machine


sKunKbad

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.