From 70fc05091f2f3cdbac1c66291a940a8223e46876 Mon Sep 17 00:00:00 2001 From: Jean Raby Date: Tue, 5 Feb 2013 14:27:16 -0500 Subject: [PATCH] Remove x-webobjects-remote-host from apache conf SOPE now handles this on its own by setting x-webobjects-remote-host to the content of the x-forward or x-forwarded-for headers if it wasn't defined --- Apache/SOGo.conf | 6 ------ NEWS | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Apache/SOGo.conf b/Apache/SOGo.conf index 1762ebac3..853b5ae0e 100644 --- a/Apache/SOGo.conf +++ b/Apache/SOGo.conf @@ -59,7 +59,6 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 # RequestHeader set "x-webobjects-remote-user" "%{REMOTE_USER}e" RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0" - RequestHeader set "x-webobjects-remote-host" %{REMOTE_HOST}e env=REMOTE_HOST AddDefaultCharset UTF-8 @@ -67,8 +66,3 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0 Allow from all -## We use mod_rewrite to pass remote address to the SOGo proxy. -# The remote address will appear in SOGo's log files and in the X-Forward -# header of emails. -RewriteEngine On -RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT] diff --git a/NEWS b/NEWS index a30a8b00e..44bc2598d 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ ------------------ Enhancements - - + - Added logging of the X-Forwarded-For HTTP header (#2229) Bug fixes - Don't use the cache for password lookups from login page (#2169)