httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45387] New: X-Forwarded-foo headers being added to initial request
Date Sat, 12 Jul 2008 07:33:01 GMT
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: bugs@httpd.apache.org
        ReportedBy: wfraser@cs.uic.edu


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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message