summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: 022987997dff2e4f6a785962e81de3a7ff831f53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
$Id: INSTALL,v 1.1 2001/11/28 05:26:54 helios Exp $


Requirements
============

0) I run a Red Hat 6.2 system, but these instructions should easily
   adapt to any modern distro.

1) Apache 1.2.x or higher installed.  (I run 1.3.22 and it works fine). 
   You should have already successfully compiled Apache and know what
   you're doing there.  In fact, you should already have any other
   modules and add-ons like mod_ssl or PHP configured and installed
   before you start this process.

2) The MySQL development headers.  (I run MySQL-devel-3.23.44-1.i386.rpm).  

3) MySQL configured, installed and running on either localhost or an
   accessible networked machine.  You should already have a basic
   understanding of MySQL and how it functions.

4) Again, basic administrative skills with Apache and MySQL.  I try to
   make things as easy as possible in this README, but its purpose is
   not to be an administrative tutorial.

Installation
============

0) Perform all the following steps as root so that you have install
   privs, etc.

1) Unpack the archive into a working directory.

   # tar zxf mod_log_mysql.tar.gz -C /usr/local/src
   # cd /usr/local/src/mod_log_mysql

2) Edit Makefile and make any adjustments for your system:  make sure
   that APACHEDIR points to the location of your Apache source code,
   and that CFLAGS points to the location of your Apache installation
   directory (where your httpd binary lives).

3) # make all 
   (You should receive NO warnings or errors of any kind. 
   If you see messages like this: "mod_log_mysql.c:69: httpd.h: No such
   file or directory" then you do not have your CFLAGS correctly
   pointing to the right include directory.)

4) # make install

5) Change to your Apache source dir.

   # cd /usr/local/sGravatar Edward Rudd
2004-02-12
* update changelog1.95Gravatar Edward Rudd 2004-02-05
* fixed segfaul bug with pointer arithmetic in add_server_string_slotGravatar Edward Rudd 2004-02-04
* SSL support working under 1.3 and 2.0 as a separate moduleGravatar Edward Rudd 2004-01-22
* fixed log_error function1.93Gravatar Edward Rudd 2004-01-21
* moved extract_* functions to functions.h (version specific in functions(13|20...Gravatar Edward Rudd 2004-01-20
* split out version specific codeGravatar Edward Rudd 2004-01-20
* update m4 filesGravatar Edward Rudd 2004-01-06
* update apache.m4 to use -with-apxs instead of --with-apacheGravatar Edward Rudd 2004-01-04
* update autoconf scripts to check MySQL..1.91Gravatar Edward Rudd 2003-12-23
* compiles and loads under apache2.0Gravatar Edward Rudd 2003-12-22
* Initial revisionGravatar Edward Rudd 2003-12-20
* Changes on the way to 1.19. This is probably going to be 1.19b1. Detail:1.19b1Gravatar Christopher Powell 2003-07-22
* Some minor additions / edits to the docs.Gravatar Christopher Powell 2003-03-27
* Removed message about insufficient info to log.1.18Gravatar Christopher Powell 2002-12-18
* Delayed inserts, includes, better table creation, renamed global vars,Gravatar Christopher Powell 2002-12-18
* Changes on route to 1.18 release (better table creation logic and workarounds...Gravatar Christopher Powell 2002-12-10
* More documentation work on the way to final 1.17 release.Gravatar Christopher Powell 2002-11-14
* Monster changes en route to 1.17. Esp. with new documentation.Gravatar Christopher Powell 2002-11-14
* *** empty log message ***1.17pre2Gravatar Christopher Powell 2002-09-04
* Lots of changes & bugfixes as requested on the list. Pre-1 of 1.17.1.17pre1Gravatar Christopher Powell 2002-06-27
* More effort toward next release. Now include headers in/out.Gravatar Christopher Powell 2002-05-24
* Further changes on the way to 1.17, big one was the segfault fix.Gravatar Christopher Powell 2002-05-16
* Added notes logging capability. This is a commit prior to a lot of workGravatar Christopher Powell 2002-05-14
* Significant headway toward a releasable 1.16, passed ab testing and myGravatar Christopher Powell 2002-04-23
* Significant bugfixes and feature additions on the way to 1.16...Gravatar Christopher Powell 2002-04-21
* Added - but did not activate - routines to handle proxy environment variables.Gravatar Christopher Powell 2002-04-08
* This is a "pre" snapshot of 1.15. Numerous changes emphasizing how SQLGravatar Christopher Powell 2002-04-02
* Minor but significant updates to the instructions for apxs users.Gravatar Christopher Powell 2002-02-24
* Ported to mysql_real_connect, made a change for the mass-virtual-hosting1.13Gravatar Christopher Powell 2002-01-15
* Added a mysql_close mechanism to the child exit process to fix MySQLGravatar Christopher Powell 2001-12-07
* Big changes including reworked cookie code, new directives, SSL logging,Gravatar Christopher Powell 2001-12-03
* A lot of code cleanup and tweaking, plus cookie logging:1.10Gravatar Christopher Powell 2001-11-30