Anyone play with libapache2-mod-auth-mysql?

Discussion in 'Server Operation' started by chris_87, Dec 19, 2005.

  1. chris_87

    chris_87 New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    I've recently set this up on Apache 1.3 (Debian Sarge):

    Code:
    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:

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

    Code:
    /etc/init.d/apache restart
    I hope you can adjust this to Apache2...
     
  3. todgerme

    todgerme Member

    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
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I've just seen it, looks good! :) (But I haven't tested it... :p )
     
  5. scrupul0us

    scrupul0us New Member

    bump... any idea how to install on windows with apache 2.2.x?
     
  6. falko

    falko Super Moderator Howtoforge Staff

Share This Page