From 80673c37abcedb421c04193f50e0cd53a6ac01c4 Mon Sep 17 00:00:00 2001 From: Christopher Powell Date: Thu, 27 Jun 2002 20:09:17 +0000 Subject: Lots of changes & bugfixes as requested on the list. Pre-1 of 1.17. --- INSTALL | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 03adc35..7c48c21 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -$Id: INSTALL,v 1.8 2002/05/14 21:47:14 helios Exp $ +$Id: INSTALL,v 1.9 2002/06/27 20:09:17 helios Exp $ Requirements @@ -65,26 +65,19 @@ For folks interested in using this module as an Apache DSO: EXAMPLE: # /usr/sbin/apxs -i -c -L/usr/lib/mysql -lmysqlclient -lz mod_log_sql.c - You should see something like this: + You should see something similar to this: - gcc -fpic -DSHARED_MODULE -I/usr/local/Apache/include -c mod_log_sql.c - ld -Bshareable -o mod_log_sql.so mod_log_sql.o - cp mod_log_sql.so /mod_log_sql.so - chmod 755 /mod_log_sql.so - [activating module blah in /path/to/apache/etc/httpd.conf] + gcc -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_mysql.c + gcc -shared -o mod_log_mysql.so mod_log_mysql.o -L/usr/local/lib/mysql/ -lmysqlclient -lz + cp mod_log_mysql.so /usr/local/apache/libexec/mod_log_mysql.so + chmod 755 /usr/local/apache/libexec/mod_log_mysql.so -4) Add the following stanzas to your httpd.conf file. Put the second stanza +4) Add the following lines to your httpd.conf file. Put the second line somewhere after the ClearModuleList directive. - - LoadModule mysql_log_module modules/mod_log_sql.so - - - - - AddModule mod_log_sql.c - + LoadModule mysql_log_module libexec/mod_log_sql.so + AddModule mod_log_sql.c 5) Now go to step (9) in the instructions below to configure httpd.conf... -- cgit