htaccess -- Apache can't find account exactly in htpasswd -- please help
Here is my .htaccess:
Quote:
Quote:
When i have access to "http://www.abc.com/protect", a login form appear. Type user name and password which exist in ".htpassword", but nothing occur, exclude only login form, it still apear athough typing exactly more times. And this is error log: Quote:
Please help me solve the problem. Thank you very much. |
And you did place your actual .htpasswd file in /etc/configure/apache/.htpasswd ?
And why do you have AuthGrpFile as /dev/null? Just leave it out if your not going to use it. And what command are you using to add the admin account to your .htpasswd file? |
Quote:
Quote:
Quote:
{then i type same password 2 times} --> succeed. I have aslo stop MYSQL daemon running on my server, however nothing is better. Please help me. Thank you very much. |
Looks to me like you have another auth type setup somewhere else, probably in your http.conf file, that is conflicting with what you are trying to do here. Looks like someone has setup mod-auth-mysql which would explain the MySQL errors you're seeing.
|
Thanks for your reply,
Quote:
Thank you very much. |
Any help, any suggestion ??? Please...
|
It seems if you have mod_auth_mysql installed, it becomes the default AuthType
remove the rpm mod_auth_mysql ... or remark out all the open lines in: /etc/httpd/conf.d/mod_auth_mysql |
Quote:
|
All times are GMT -5. The time now is 02:44 PM. |