Depending on your setup, you'll probably also need to specify AuthMySQLUser and, if a password is required (highly recommended), AuthMySQLPassword. These can also be set to defaults at compile time. I assume you've checked the database, table, etc. to ensure they are correct.
Look at the Apache error logs; you should see some errors from mod_auth_mysql indicating reason for the failure.
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[Fri Jan 28 09:42:24 2005] [error] MySQL ERROR: Access denied for user:
'www-data@localhost' (Using password: NO)
[Fri Jan 28 09:42:24 2005] [error] MySQL user mark not found: /professionals/sem
enanalyse/files/1/cdsingle.pdf
Seems simple, I forgot to name the mysql user...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is installed the module and started apache without problems, but I just can't login.
hoere's my htaccess file:
AuthName "MySQL Testing"
AuthType Basic
AuthMySQLEnable On
AuthMySQLHost localhost
AuthMySQLDB andrologie
AuthMySQLUserTable lab
AuthMySQLNameField naam
AuthMySQLPasswordField password
AuthMySQLPwEncryption none
AuthMySQLKeepAlive Off
AuthMySQLAuthoritative On
require valid-user
Is therean error in my configuration?
Thanx in advance,
Mark
Hi, Mark,
Depending on your setup, you'll probably also need to specify AuthMySQLUser and, if a password is required (highly recommended), AuthMySQLPassword. These can also be set to defaults at compile time. I assume you've checked the database, table, etc. to ensure they are correct.
Look at the Apache error logs; you should see some errors from mod_auth_mysql indicating reason for the failure.
Jerry
Hy again,
I read the apache error log:
[Fri Jan 28 09:42:24 2005] [error] MySQL ERROR: Access denied for user:
'www-data@localhost' (Using password: NO)
[Fri Jan 28 09:42:24 2005] [error] MySQL user mark not found: /professionals/sem
enanalyse/files/1/cdsingle.pdf
Seems simple, I forgot to name the mysql user...