From 67f3fa100fb12ec2216345006c51717929dffeb3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 2 Apr 2006 16:01:51 +0000 Subject: Add new sample apache2 config snippets. --- apache2/conf.d/local-log-vhosts.conf | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 apache2/conf.d/local-log-vhosts.conf (limited to 'apache2/conf.d/local-log-vhosts.conf') diff --git a/apache2/conf.d/local-log-vhosts.conf b/apache2/conf.d/local-log-vhosts.conf new file mode 100644 index 0000000..a8c8920 --- /dev/null +++ b/apache2/conf.d/local-log-vhosts.conf @@ -0,0 +1,5 @@ +# logformat used by vlogger +LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_vlogger + +# Simple setup for a single shared dir for all vhosts +#CustomLog "| /usr/sbin/vlogger -s access.log -u www-data -g www-data -t '%Y.%m.%d' /var/log/apache-vhosts" combined_vlogger -- cgit v1.2.3