summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Powell 2002-01-02 20:47:44 +0000
committerGravatar Christopher Powell 2002-01-02 20:47:44 +0000
commitcb854fe3e61b2590aeede8e6e94ee9feda919800 (patch)
tree8161c2df11c4ca04d08dd2831c39bb5587000ac7
parent3ddc5c9b88226097f93d4c21ea51f7a37f0e56f3 (diff)
Fixed another typo in make_combined_log; improved DSO instructions
based on a user's input.
-rw-r--r--INSTALL10
-rwxr-xr-xmake_combined_log.pl4
2 files changed, 8 insertions, 6 deletions
diff --git a/INSTALL b/INSTALL
index 4963123..86807a2 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
1$Id: INSTALL,v 1.2 2001/12/03 19:54:02 helios Exp $ 1$Id: INSTALL,v 1.3 2002/01/02 20:47:44 helios Exp $
2 2
3 3
4Requirements 4Requirements
@@ -44,10 +44,12 @@ instructions.)
44 # tar zxf mod_log_mysql.tar.gz -C /usr/local/src 44 # tar zxf mod_log_mysql.tar.gz -C /usr/local/src
45 # cd /usr/local/src/mod_log_mysql 45 # cd /usr/local/src/mod_log_mysql
46 46
472) Instruct apxs to compile and install the module as a DSO. (My apxs is 472) Instruct apxs to compile and install the module as a DSO. You need
48 in /usr/local/Apache/bin, perform a "locate" to find yours...) 48 to know two things before you run apxs:
49 - The location of the apxs binary, find using 'locate apxs'
50 - The location of your MySQL libraries, find using 'locate libmysqlclient'
49 51
50 # <path>/apxs -i -a -c mod_log_mysql.c 52 # <path>/apxs -i -a -c -L<path to MySQL libs> -lmysqlclient -lz mod_log_mysql.c
51 53
52 You should see something like this: 54 You should see something like this:
53 55
diff --git a/make_combined_log.pl b/make_combined_log.pl
index e72cabb..cefc728 100755
--- a/make_combined_log.pl
+++ b/make_combined_log.pl
@@ -1,6 +1,6 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3# $Id: make_combined_log.pl,v 1.3 2001/12/04 00:11:59 helios Exp $ 3# $Id: make_combined_log.pl,v 1.4 2002/01/02 20:47:44 helios Exp $
4# 4#
5# make_combined_log.pl 5# make_combined_log.pl
6# 6#
@@ -93,7 +93,7 @@ while (@data = $records->fetchrow_array) {
93 93
94 # Create format for leading-zero formatting 94 # Create format for leading-zero formatting
95 if ($mday < 10) { $mday = "0$mday"; } 95 if ($mday < 10) { $mday = "0$mday"; }
96 if ($month < 10) { $month = "0$month"; } 96 if ($mon < 10) { $mon = "0$mon"; }
97 if ($hour < 10) { $hour = "0$hour"; } 97 if ($hour < 10) { $hour = "0$hour"; }
98 if ($min < 10) { $min = "0$min"; } 98 if ($min < 10) { $min = "0$min"; }
99 if ($sec < 10) { $sec = "0$sec"; } 99 if ($sec < 10) { $sec = "0$sec"; }