httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

           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

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

This doesn't make any sense. Shouldn't only the internal request get these

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message