Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Authentication Methods and problems

Status
Not open for further replies.

xeonash

Technical User
Jun 6, 2003
4
US
Hi,
I have been having a problem with Apache 2.04x /RH 9. I've set up directory authentication using htpasswd, htdigest, dbmmanage, and finally mysql. I am always prompted for the password, but after entering it three times I the "401 Authentication required" page.

In the error logs, it is saying that the user name or password does not exist, but is looking in the right places, and the users/pass's have always been there, and always been correct. I even changed versions of Apache to see if that was the issue, but came up with the same problem.

I can only assume that Redhat is causing some type of authentication conflict, but can't figure out what it is.

If anyone has had this problem and gotten it resolved. Please let me know what you did.

Thanks :)
 
Yeah, the passwords are all encrypted, I have had quite a few people who use apache and linux on a regular basis look at it and can't think of anything. It's like Apache see's the password files / tables, but can't read the data. I set the permissions on the files to 777, yet didn't help. in the error logs for apache, when attempting to connect to mysql (since I have that set up at this point) it says that the authuser@localhost account isn't authorized, yet I can connect to the mysql server with that user and pass through bash. I'm just going to scrap my install and revert back to 8.0. To frustrating and time consuming.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top