I just upgraded from RedHat ES3 to RedHat ES4. I had mod_auth_mysql working fine before the update but since the update it no longer works. Whenever I access a protected page I get a 500 error with the following in the log:
configuration error: couldn't check user. No user file?:
My apache starts with no errors and I have the following in my .htaccess file:
Sorry for the delay in responding. I've been very busy.
It looks like your MySQL authorization is failing. Since you don't have
AuthMySQLAuthoritative ON
Apache is continuing to attempt to authorize by looking for a password file.
You need to add the above statement to stop the 500 errors; then if you still have authorization failures you need to look at your Apache error log to determine why authrorization is failing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just upgraded from RedHat ES3 to RedHat ES4. I had mod_auth_mysql working fine before the update but since the update it no longer works. Whenever I access a protected page I get a 500 error with the following in the log:
configuration error: couldn't check user. No user file?:
My apache starts with no errors and I have the following in my .htaccess file:
AuthName "Texas Trust Administration Page"
AuthType Basic
AuthMySQLUser <mysql user>
AuthMySQLPassword <unencrypted password>
AuthMySQLDB TTCU
AuthMySQLUserTable Admin
AuthMySQLNameField UserName
AuthMySQLPasswordField Password
AuthMySQLGroupField Groups
AuthMySQLCryptedPasswords Off
require group full
Any help that anyone can provide is greatly appreciated.
Thank You,
Greg
Greg,
Sorry for the delay in responding. I've been very busy.
It looks like your MySQL authorization is failing. Since you don't have
AuthMySQLAuthoritative ON
Apache is continuing to attempt to authorize by looking for a password file.
You need to add the above statement to stop the 500 errors; then if you still have authorization failures you need to look at your Apache error log to determine why authrorization is failing.