Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Perhaps this will help' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Perhaps this will help
Authored by: XJ0 on Oct 06, '04 09:33:58PM

As to the configtest error, i am not sure. I assume you checked the module directory to make sure the mod is there and the http.conf has right path to the mod:

ie: Loadmodule mod_auth_mysql libexec/httpd/
and you did add:
addmodule mod_auth_mysql.c

you could try using >apsx -i -a

for the DB your correct. the primary key should be : user_name
In the apache <Directory /xxx/xxx/xx> example you will see that i have set the DB to users --> AuthMySQLDB users.
The mod is supposed to assume this DB but i found it doesn't so i set it.
The mod also seems to try to use the user www to access the DB unless told otherwise. For this reason i setup a webaccess user in mysql and told the mod to use that user.

Sorry i didn't make this clear.

[ Reply to This | # ]