PDA

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


chris_87
19th December 2005, 01: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

falko
19th December 2005, 11: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...

todgerme
21st December 2005, 02: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

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

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

falko
20th June 2007, 16: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.