https://issues.apache.org/bugzilla/show_bug.cgi?id=45387
Summary: X-Forwarded-foo headers being added to initial request
Product: Apache httpd-2
Version: 2.2.9
Platform: PC
URL: http://
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I was trying to make a log format that included the contents of the
X-Forwarded-Server header of the requests so that mod_rewrite'd/mod_proxy'd
requests don't get counted twice in statistics (i.e. so I can filter out
requests with the server's name in this field), but when I do this, BOTH the
initial request from the outside AND the internal request get the X-Forwarded
headers.
This doesn't make any sense. Shouldn't only the internal request get these
headers?
I'm using mod_rewrite to do the proxying in these cases, but it's mod_proxy
that adds the headers, so I believe the bug is there. Of course, correct me if
I'm wrong.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]