[Pkg-apache-commits] [SCM] Debian packaging for apache2 (Apache HTTPD 2.x) branch, next, updated. 22c865f98eb18409e27a207de67605f68769d79b
Stefan Fritsch
sf at sfritsch.de
Sat Apr 14 20:43:30 UTC 2012
The following commit has been merged in the next branch:
commit 22c865f98eb18409e27a207de67605f68769d79b
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sat Apr 14 22:42:38 2012 +0200
Update comments about log formats
diff --git a/debian/config-dir/apache2.conf b/debian/config-dir/apache2.conf
index abc795a..1a2e13c 100644
--- a/debian/config-dir/apache2.conf
+++ b/debian/config-dir/apache2.conf
@@ -185,8 +185,15 @@ AccessFileName .htaccess
#
# The following directives define some format nicknames for use with
-# a CustomLog directive (see below).
-# If you are behind a reverse proxy, you might want to change %h into %{X-Forwarded-For}i
+# a CustomLog directive.
+#
+# These deviate from the Common Log Format definitions in that they use %O
+# (the actual bytes sent including headers) instead of %b (the size of the
+# requested file), because the latter makes it impossible to detect partial
+# requests.
+#
+# Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
+# Use mod_remoteip instead.
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
--
Debian packaging for apache2 (Apache HTTPD 2.x)
More information about the Pkg-apache-commits
mailing list