summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStefan Fritsch <sf@debian.org>2007-12-07 21:24:38 +0000
committerStefan Fritsch <sf@sfritsch.de>2012-01-02 10:36:48 +0100
commit680742815b4d15d5dbdd53bf6a5830f9d75f5c0d (patch)
tree49509f0726cdca88e26327e89e76aa4cbf690873 /debian
parentd5f4c8d22c145cbf4a123211879c943d35b4b070 (diff)
downloadapache2-680742815b4d15d5dbdd53bf6a5830f9d75f5c0d.tar.gz
Add comment about how to log X-Forwarded-For
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@499 01b336ce-410b-0410-9a02-a0e7f243c266
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/config-dir/apache2.conf1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c27e1796..804cb6fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ apache2 (2.2.6-3) UNRELEASED; urgency=low
* Redirect /doc/apache2-doc/manual/ to /manual/ in the apache2-doc config
(Closes: #450867).
* Add icons for .ogg and .ogm (Closes: #255443).
+ * Add comment about how to log X-Forwarded-For (Closes: #425008).
* Make mod_proxy_balancer not depend on mod_cache.
* Add Homepage field to debian/control.
diff --git a/debian/config-dir/apache2.conf b/debian/config-dir/apache2.conf
index 1959ddb1..7741c5a5 100644
--- a/debian/config-dir/apache2.conf
+++ b/debian/config-dir/apache2.conf
@@ -192,6 +192,7 @@ Include /etc/apache2/ports.conf
#
# 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
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common