-----Original Message----- From: Zen Woo [mailto:[EMAIL PROTECTED]] Sent: Saturday, 16 June 2001 10:43 AM To: [EMAIL PROTECTED] Subject: Re: Using web administration won't work because of mod_auth_mysql Yes, the Auth_MYSQL_Info directive has to be outside <Location /vsdadm> Zen ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 16, 2001 6:40 PM Subject: Re: Using web administration won't work because of mod_auth_mysql You have to specify the following somewhere in the http.conf: Auth_MYSQL_Info <mysql_server> <mysql_username> <mysql_password> note: i think you might have to specify it outside the <Location /vsdadm> Melvin On Jun 16 11:09, Wim Godden <[EMAIL PROTECTED]> wrote: > > Subject: Re: Using web administration won't work because of mod_auth_mysql > > OK, that fixed that problem. Now I have another one : > [Sat Jun 16 10:58:11 2001] [error] MySQL query failed: select passwd > from siteusers where id='admin' > [Sat Jun 16 10:58:11 2001] [error] MySQL failure reason: Access denied > for user: '@localhost' to database 'vsdadmsite' > > and > > [Sat Jun 16 11:09:11 2001] [error] MySQL query failed: select passwd > from siteusers where id='admin' > [Sat Jun 16 11:09:11 2001] [error] MySQL failure reason: No Database > Selected > > The username, password and database name are correctly set in > dblib.phtml and the database works fine. > > > Melvin Artemas wrote: > > > > I think it is because of a bug in the makefile. You have to apply this > > patch: > > > > --- mod_auth_mysql-2.20.orig/Makefile.in Sat Oct 3 13:24:28 1998 > > +++ mod_auth_mysql-2.20/Makefile.in Tue Nov 30 17:59:32 1999 > > @@ -1,7 +1,7 @@ > > CC = @CC@ > > AR = ar rc > > INSTALL_IT = @INSTALL_IT@ > > -INCLUDE = -I. @APACHE_INCLUDE@ > > +INCLUDE = -I. @MYSQL_INCLUDE@ @APACHE_INCLUDE@ > > BINNAME = @BINNAME@ > > RANLIB = @RANLIB@ > > PROF_CFLAGS = > > @@ -15,6 +15,12 @@ > > APXS = @APXS@ > > APXS_LDFLAGS = @APXS_LDFLAGS@ > > WARNING_LEVEL = @WARNING_LEVEL@ > > + > > + > > +build: > > + cp ./config.h ./auth_mysql_config.h > > + $(APXS) $(INCLUDE) -c ./mod_auth_mysql.c $(APXS_LDFLAGS) > > + > > > > install: > > $(INSTALL_IT) > > > > Copy the above and paste it into a file. > > > > Do a: > > > > patch -p1 < patchfile > > > > Melvin > > > > ----- Original Message ----- > > From: "Wim Godden" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, June 16, 2001 3:56 AM > > Subject: Using web administration won't work because of mod_auth_mysql > > > > > I wanted to install the web administration tools, but found out I needed > > > mod_auth_mysql, so I downloaded version 2.20 (seems to be the latest, > > > although it's from October 1998). > > > However, make gives me : > > > /usr/local/apache/bin/apxs -i -a -n auth_mysql libauth_mysql.so > > > [activating module `auth_mysql' in /usr/local/apache/conf/httpd.conf] > > > cp libauth_mysql.so /usr/local/apache/libexec/libauth_mysql.so > > > cp: libauth_mysql.so: No such file or directory > > > apxs:Break: Command failed with rc=1 > > > make: *** [install] Error 1 > > > > > > Any ideas ? > > > > > > > > >
