Look in /etc/httpd/conf.d.  These config files are included by a line in 
httpd.conf.

Now, find the config file for mod_auth_mysql.  At the top, there may be 
something like <IfDefine HAVE_MOD_AUTH_MYSQL> ...stuff there... </IfDefine>.  
For some reason, the installed RPM is not defining HAVE_MOD_AUTH_MYSQL, thus 
it isn't loading.  Comment out the <IfDefine ...> and </IfDefine> lines, 
restart Apache, and that should put you on your way.

You didn't say which distribution you were using, but I had that problem with 
an update to Apache on Mandrake 9.2.

Hope that helps!!

j----- k-----

On Friday 27 February 2004 10:24 am, James Marcinek wrote:
> Hello all!
>
> I know this isn't an Apache list but I already checked the documentation
> on Apache.org on trying to get this configured correctly.
>
> 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

-- 
Joshua J. Kugler
Fairbanks, Alaska
Computer Consultant--Systems Designer
.--- --- ... .... ..- .-    -.- ..- --. .-.. . .-.
[EMAIL PROTECTED]
ICQ#:13706295
Every knee shall bow, and every tongue confess, in heaven, on earth, and under 
the earth, that Jesus Christ is LORD -- Count on it!


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to