I am fighting with the mod_auth_mysql module for more than week and can not make it working. The module is correctly loaded and it is listed in my Apache2`s status-info page. Also the MySQL details are correct and I think that everything is properly configured. However when I try to login on my protected page (using the correct and incorect details) I always face Internal Server Error. Did somebody face the same problem in the past? I really do not know how to solve this case. Here is the configuration for the connection to mysql plased in the apache2.conf file :
<Directory "/var/www/test/">
AuthName "Your Protected Area"
AuthType Basic
Auth_MySQL_Username root
Auth_MySQL_Password password
Auth_MySQL_DB setup
Auth_MySQL_Password_Table http_auth
Auth_MySQL_Username_Field user_name
Auth_MySQL_Password_Field user_passwd
Auth_MySQL_Encrypted_Passwords Off
Auth_MySQL_Non_Persistent On
Auth_MYSQL On
Auth_MySQL_Empty_Passwords Off
require valid-user
</Directory>
I`ll be more than happy if somebody can help me to recify this issue. Thank you in advance. 
|