I have gone through my httpd.conf more time and I can't seem to find anyhting that is authorizing MySql Authentication. Furthermore, and I'm not for sure if this is a RedHat thing or not, there is a directory httpd.conf that contains module scripts. It is processed just like LoadModule in the httpd.conf file. Any files with extension of .conf in this directory are loaded in alphabetical order. There was a mod_auth_mysql file in here that I removed. Then after re-starting apache it continued to give the same error. So I thought, what the heck. I'll just try mysql authentication to see if that works. So I placed the mod_auth_mysql file back in the directory, edited my htaccess file with the following directives.
AuthType Basic
Require valid-user
Auth_MYSQL_General_DB authentication
Auth_MySQL_Username_Field username
Auth_MySQL_Password_Field password
After re-starting Apache I get the following error in the log after trying to access the site.
[Fri Jun 17 07:39:46 2005] [alert] [client 127.0.0.1] /var/www/html/.htaccess: Invalid command 'Auth_MYSQL_General_DB', perhaps mis-spelled or defined by a module not included in the server configuration
[Fri Jun 17 07:39:46 2005] [alert] [client 127.0.0.1] /var/www/html/.htaccess: Invalid command 'Auth_MYSQL_General_DB', perhaps mis-spelled or defined by a module not included in the server configuration
So it seems that I can't win. Either way, if I try to use MySql authentication or just try to use a password file, it throws some kind of MySql error. Any help would be appreciated for resolving this issue. RedHat support seems to be set on not supporting apache issues. Great!! That's what I bought it for!!
|