Using mod_auth_mysql for Apache

From: James Marcinek (jmarc1_at_jemconsult.biz)
Date: 02/27/04

  • Next message: Ken Gillett: "printing"
    To: redhat-list@redhat.com
    Date: Fri, 27 Feb 2004 14:19:55 -0500 (EST)
    
    

    Hello all!

    I have a question about mod_auth_mysql. I installed the rpms for
    Apache(2.x) and Mysql and I can see the module is in the
    /etc/httpd/modules dirctory:

    mod_auth_mysql.so

    However I do not see this added in the httpd.conf file. I also checked
    what modules are loaded statically with the httpd -l command, and it
    wasn't listed.

    The reference material I have is a bit vague so I'm hoping that someone
    can help me out as this is the first time I'm setting this up. The
    material covers Apache 1.x and 2(at the same time) so I'm not sure what I
    have to do (if anything)

    I'm assuming that I have to add this module to the Dynamic Shared Object
    support section of the httpd.conf:

    auth_mysql_module modules/mod_auth_mysql.so

    Is this correct?

    Also, my reference material also indicates I need to add a line to the
    httpd.conf to give mod_auth_mysql the parameters it needs to connect to
    MySQL:

    Auth_MySQL_Info hostname user password

    Is this right? Where in the httpd.conf should this be placed.

    Any help would be great!

    Thanks,

    James

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ken Gillett: "printing"

    Relevant Pages

    • Re: [SLE] No more XD2 ..(.now I have X and KDE but cant login to Gnome)
      ... I got the gdm at runlevel 5 but when I chose gnome as the ... You'll need to run k3b setup first, if its the first time you used it. ... make sure you have no kde 3.1.1 rpms left. ... looking for the ximian rpms, ...
      (SuSE)
    • [opensuse] Buildservice Really Works - madwifi rpms for the atheros wireless cards at home:/dra
      ... I took Phillips advise and set my madwifi project up on my opensuse account. ... Building the rpms on buildservice was strange the first time. ... upload the source package and the spec file and build the files on the server. ...
      (SuSE)
    • Downer On Prototype?
      ... I am using prototype.js to save data into MySQL using Ajax.Request ... otherwise I am just updating it. ... Your problem seems more likely to be on the client side, ... - this isn't the first time I've read comments like this. ...
      (comp.lang.php)
    • Problem creating root password MySQL in FC6
      ... In FC6, first time to start MySQL and try to create passwor for root user but failed, I login as root and did the following commands; ... First time and completely new in MySQL, ...
      (Fedora)
    • Re: parse xml file, put results in mysql db
      ... Working on linux. ... I can parse the data and print it out ok. ... Problem comes when I try to insert it into the mysql db - I get an error ... This is first time I"ve programmed ...
      (comp.lang.ruby)