Click to See Complete Forum and Search --> : [RESOLVED] loading mod_auth_mysql


svoec
09-08-2008, 01:05 PM
hey guys, I have a Linux VPS (centos), and I'm trying to install mod_auth_mysql for apache2

I've run

compile--
apxs -c -DHOST=localhost -lmysqlclient -I/usr/include/mysql/ -L /usr/lib/mysql mod_auth_mysql.c

install
apxs -i -I /usr/include/mysql/ -c -lmysqlclient -L /usr/lib/mysql -lm -lz /home/auth_mysql/mod_auth_mysql.c

then added the line
LoadModule mysql_auth_module modules/mod_auth_mysql.so
to my httpd.conf file.

httpd -l does not show the module loaded,
httpd -t shows no errors.

any thoughts on what I'm doing wrong ?

Thanks

Horizon88
09-09-2008, 04:47 PM
Have you restarted the httpd service?

svoec
09-11-2008, 10:20 AM
yep, I found it...
it does not play well with front-page extensions.

remove those, and away it went.

Horizon88
09-11-2008, 01:53 PM
Ah, glad you got it sorted out. Don't forget to mark this thread resolved using the Thread Tools menu, please.