summaryrefslogtreecommitdiffstats
path: root/contrib/README
blob: bf0e65f7b8dfcb81e85ba45cdf66af586a0ef2a1 (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
This directory contains contributed scripts/programs/utilites for mod_log_sql.

* create_tables.sql

This is the create table SQL commands to create the access, headers_in, 
headers_out, cookies, and notes tables in the MySQL database.
Use it like this.
mysql -u user -h host -p apachelogdatabase < create_tables.sql
Where:
	user is the username to log in as,
	host is the hostname the server is on, 
	apachelogdatabase is the database to put the tables into
	-p will have mysql ask you for a password for the user

*make_combined_log.pl

This perl script will extract the data from mod_log_sql's tables in the 
database and export a standard Apache combined log file. Use this to run
logs through a program like webalizer.

You must edit the perl script to configure variables before you run it.
Usage:
./make_combined_log.pl days virtualhost
Where:
	days is the number of days to fetch (starting from now and going back 
		in time)
	virtualhost is the name of the virtualhost to retrieve

Example:
	./make_combined_log.pl 2 example.com

*mysql_import_combined_log.pl

This is a perl script written by Aaron Jenson that imports a combined log file
from apache into a SQL database table.. You can use this script to import logs
from a webserver you are converting over from the standard Apache log system to
mod_log_sql.  A Usage statement can be fetch by running the program with no 
parameters or with --help or -?.
<Gravatar Nikos Mavrogiannopoulos 2007-12-08 | * better handling of RSAFile and DHFileGravatar Nikos Mavrogiannopoulos 2007-12-03 | * upgraded to 0.4.0Gravatar Nikos Mavrogiannopoulos 2007-11-28 | * - add lua to do client verificationGravatar Paul Querna 2005-05-17 | | | | | - only use gcrypt locking when required to * Refactor finding the correct server record to fix resumed sessions.0.2.00.2.xGravatar Paul Querna 2005-04-25 | * - move hooks to gnutls_hooks.cGravatar Paul Querna 2005-04-24 | | | | | - use 'mgs_' as the prefix for all symbols, instead of mixed prefixes. * move config functions to their own file. Gravatar Paul Querna 2005-04-24 | * client auth is sort of working.Gravatar Paul Querna 2005-04-22 | * working SNI. Not so working Client Cert support.Gravatar Paul Querna 2005-04-21 | * include support for 2.0.xxGravatar Paul Querna 2005-04-08 | * wrap the debug log in maintainer mode.Gravatar Paul Querna 2005-04-08 | * - remove anno credsGravatar Paul Querna 2005-04-06 | | | | | | | | - initial attempt at Server Name Extension - change to adding 'mod_gnutls' to the server sig instead of GnuTLS/ - fix for EOF/EOC/EOS buckets - 'general' code cleanups * checkpoint the work so far. The DBM cache needs a little more work.Gravatar Paul Querna 2005-04-05 | * - make memcahe optionalGravatar Paul Querna 2005-04-04 | | | | | | - update for 2.1.x branch changes. - some mucking around with the conf stuff * make this a generated fileGravatar Paul Querna 2005-04-04 | * updated header.Gravatar Paul Querna 2005-04-04 | * working support for a ssl session cache via memcached.Gravatar Paul Querna 2004-12-10 | * add check for apr_memcacheGravatar Paul Querna 2004-12-09 | * setting proper ignores.Gravatar Paul Querna 2004-12-02 | | | | | | | adding an empty cache files trying to fix >16kb writes. * input and output filtersGravatar Paul Querna 2004-09-28 | * rename structures.Gravatar Paul Querna 2004-09-27 | | | | | | properly prefix all non-static functions with mod_gnutls_ fix build for GnuTLS 1.0.X. (redefine the changed structure names) * break up the IO functions into their own fileGravatar Paul Querna 2004-09-27