summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-03-13 16:11:20 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-03-13 16:11:20 +0000
commitd9ef402633e34d7aa88b1333f54460d7818d7d57 (patch)
tree3b22f872a5b268a9c5bc19e025a8f72ad44b8421 /www-apache/mod_log_sql/files
parentStable for HPPA (bug #211986). (diff)
downloadhistorical-d9ef402633e34d7aa88b1333f54460d7818d7d57.tar.gz
historical-d9ef402633e34d7aa88b1333f54460d7818d7d57.tar.bz2
historical-d9ef402633e34d7aa88b1333f54460d7818d7d57.zip
install logio module; include dbi module in config
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-apache/mod_log_sql/files')
-rw-r--r--www-apache/mod_log_sql/files/1.101/42_mod_log_sql.conf33
1 files changed, 33 insertions, 0 deletions
diff --git a/www-apache/mod_log_sql/files/1.101/42_mod_log_sql.conf b/www-apache/mod_log_sql/files/1.101/42_mod_log_sql.conf
new file mode 100644
index 000000000000..57bd78d34ae4
--- /dev/null
+++ b/www-apache/mod_log_sql/files/1.101/42_mod_log_sql.conf
@@ -0,0 +1,33 @@
+<IfDefine LOG_SQL>
+LoadModule log_sql_module modules/mod_log_sql.so
+LoadModule log_sql_logio_module modules/mod_log_sql_logio.so
+
+<IfDefine DBI>
+LoadModule log_sql_dbi_module modules/mod_log_sql_dbi.so
+</IfDefine>
+
+<IfDefine !DBI>
+LoadModule log_sql_mysql_module modules/mod_log_sql_mysql.so
+</IfDefine>
+
+<IfDefine SSL>
+LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so
+</IfDefine>
+
+LogSQLLoginInfo mysql://user:passwd@host/database
+LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
+
+# LogSQLMassVirtualHosting automatically sets LogSQLCreateTables to 'on'
+#LogSQLCreateTables on
+LogSQLMassVirtualHosting on
+
+LogSQLMachineID machine_id
+LogSQLPreserveFile logs/mod_log_sql_preserve.sql
+
+# See http://www.outoforder.cc/projects/apache/mod_log_sql/docs-2.0/
+# for details about LogSQLTransferLogFormat
+# be compatible with the Combined Log Format (CLF)
+LogSQLTransferLogFormat AbHhmRSsTUuv
+</IfDefine>
+
+# vim: ts=4 filetype=apache