View Full Version : Anyone play with libapache2-mod-auth-mysql?

19th December 2005, 00:26
Hi guys,

Are there anyone tell me how to setup and configure this module? I found one for Freebsd but not applicable for debian.

Many thanks:p

19th December 2005, 10:09
I've recently set this up on Apache 1.3 (Debian Sarge):

cd /tmp
wget http://mesh.dl.sourceforge.net/sourceforge/modauthmysql/mod_auth_mysql-3.0.0.tar.gz
tar xvfz mod_auth_mysql-3.0.0.tar.gz
cd mod_auth_mysql-3.0.0
apxs -c -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c
apxs -i mod_auth_mysql.so

Then add this line to /etc/apache/modules.conf:

LoadModule mysql_auth_module /usr/lib/apache/1.3/mod_auth_mysql.so
and restart Apache:

/etc/init.d/apache restart

I hope you can adjust this to Apache2...

21st December 2005, 01:24
just produced a guide for the very thing on debian, any problems, just holler and we'll get my first revision made of the howto but I'm hoping first time lucky! good luck

21st December 2005, 01:54
I've just seen it, looks good! :) (But I haven't tested it... :p )

19th June 2007, 21:19
bump... any idea how to install on windows with apache 2.2.x?

20th June 2007, 15:35
If you want to install Apache on Windows, take a look here: http://www.apachefriends.org/en/xampp-windows.html
Xampp contains Apache 2.2.4.