You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jason Michael <ja...@truck.ds.adp.com> on 2003/07/31 17:55:00 UTC

[users@httpd] mod_auth_mysql

Guys,

I'm a noob.  I'm setting up a company intranet server using Apache and RH9.0
Server.

I have a tarball for mod_auth_mysql.  It says I need to recompile Apache to
activate a module for auth_mysql so that it will work.  Then it says add
Auth_MySQL_Info hostname user pass to httpd.conf.  If Apache will start with
this entry in the conf file, it worked, if it won't , it didn't.


My question is this:  is it necessary to recompile Apache?  I have it
running so nice now.  If I recompile it, how can I know that I will use the
proper flags and parameters in ./configure?  Does RedHat provide some kind
of guide for adding modules to its distro of Apache?

As with most of my experiences with linux, I'm afraid if I go monkeying with
Apache, I won't be able to bring it back short of reinstalling it from the
RH CD's.

Anyone have any suggestions?

JLM


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] mod_auth_mysql

Posted by Jason Michael <ja...@truck.ds.adp.com>.
Sorry guys, but I'm a real noob.

I've been hunting around the Redhat 9 filesystem all morning.  Where is the
httpd binary?  Where is the mysql binary?   In other words, I have to
configure mod_auth_mysql with the --with-apache=dir and --with-mysql-dir=
directives.  What do I put in for these?  This is an out of the box install
with no custom installs...

Sorry I'm so hopelessly stupid...
JLM

-----Original Message-----
From: Dirk-Willem van Gulik [mailto:dirkx@webweaving.org]
Sent: Thursday, July 31, 2003 11:13 AM
To: Apache Mailinglist
Subject: Re: [users@httpd] mod_auth_mysql




On Thu, 31 Jul 2003, Jason Michael wrote:

> Auth_MySQL_Info hostname user pass to httpd.conf.  If Apache will start
with
> this entry in the conf file, it worked, if it won't , it didn't.

Right - you need to tell the module how to connect to mysql.

> My question is this:  is it necessary to recompile Apache?  I have it

No.

> Anyone have any suggestions?

Go trough the doc's of the module and configure it.

Dw.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] mod_auth_mysql

Posted by Dirk-Willem van Gulik <di...@webweaving.org>.

On Thu, 31 Jul 2003, Jason Michael wrote:

> Auth_MySQL_Info hostname user pass to httpd.conf.  If Apache will start with
> this entry in the conf file, it worked, if it won't , it didn't.

Right - you need to tell the module how to connect to mysql.

> My question is this:  is it necessary to recompile Apache?  I have it

No.

> Anyone have any suggestions?

Go trough the doc's of the module and configure it.

Dw.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org