diff options
author | Stefan Fritsch <sf@debian.org> | 2007-12-07 21:24:38 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2012-01-02 10:36:48 +0100 |
commit | 680742815b4d15d5dbdd53bf6a5830f9d75f5c0d (patch) | |
tree | 49509f0726cdca88e26327e89e76aa4cbf690873 /debian | |
parent | d5f4c8d22c145cbf4a123211879c943d35b4b070 (diff) | |
download | apache2-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/changelog | 1 | ||||
-rw-r--r-- | debian/config-dir/apache2.conf | 1 |
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 |