Apache2: Logging To A MySQL Database With mod_log_sql (Debian Etch)
This guide shows how you can write the Apache2 access log to a MySQL database instead of a file. To achieve this, I use the Apache2 module mod_log_sql. I'm using a Debian Etch server in this tutorial.
Read it here
Quote:
Unfortunately libapache2-mod-log-sql-mysql is available as a Debian package only for Debian Lenny (testing) and Sid (unstable), but not for Etch. Therefore we will install the libapache2-mod-log-sql-mysql package from Lenny. To do this, open /etc/apt/sources.list and add the line deb http://ftp2.de.debian.org/debian/ lenny main; your /etc/apt/sources.list could then look like this:
Debian News RSS Feed
No Response to “Apache2: Logging To A MySQL Database With mod_log_sql (Debian Etch)” »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment