[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] mod_auth_mysql
- Subject: Re: [cobalt-users] mod_auth_mysql
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sun May 6 13:50:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"Bayhawk" <bayhawk@xxxxxxxxxxxxxx> wrote:
> >'m running it compiled from source on several systems. I always compile
it
> >not apache, but you may be able to install it as a DSO using apxs.
Here's
> >how I last did it (I think I had no problems installing and using the
first
> >time by following the source instructions).
> >
> >1. Install mod_auth_mysql
> >
> >cd /home/downloads/
> >wget
>
>http://download.sourceforge.net/pub/mirrors/mysql/Downloads/Contrib/mod_aut
> h
> >_mysql-2.20.tar.gz
> >cd /home/work/
> >tar xfvz /home/downloads/mod_auth_mysql-2.20.tar.gz
> >chown -R root:root mod_auth_mysql-2.20
> >cd mod_auth_mysql-2.20/
> >
>
>./configure --with-mysql=/home/mysql_v1 --with-apache=/home/work/apache_1.3
> .
> >19
> >
> >2. Configure Apache as usual, adding following line to Apache's
> >config.status
> >
> >"--activate-module=src/modules/auth_mysql/libauth_mysql.a" \
>
>
>
> Thanks for the follow-up, but im still confused. On step 1 above, what is
> the default location that the 2 variables are looking for?
I'm not sure what you mean, but by variables I assume you really mean the
parameters in the ./configure command. The first is the location of your
MySQL directory, the second is the location of your Apache source code.
> I have a Cobalt
> RAQ 4I, nothing has been modified.
I believe the MySQL directory is /home/mysql - check your system to make
sure. I don't think you have the Apache source; you'll have to download it
from www.apache.org and untar it.
> and I have no idea what you mean by "Configure apache as usual" in step
#2.
> I have done nothing with apache. I notices allot of mention of apxs, Doing
a
> locate on my system for it, it cant be found anywhere.
Hopefully you are aware that mod_auth_mysql is an Apache module and as such
Apache needs to be recompiled with mod_auth_mysql support or you can
probably install it with apxs to avoid recompiling Apache. apxs should be
at /usr/sbin/apxs. Recompiling Apache isn't for the faint of heart and I
don't recommend it unless you're very experienced with compiling programs
from source, making backups and knowing what to do or where to look when
error messages pop up. From your server shell do "man apxs" to read about
it, visit www.apache.org for documentation and google.com for help and you
should be able to get mod_auth_mysql running.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/