Bug #418
mod_proxy should send the X-Forwarded-Host header to the proxied server
| Status: | New | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | jan | % Done: | 0% |
|
| Category: | mod_proxy | |||
| Target version: | - | |||
| Pending: | Resolution: | |||
Description
Apache's mod_proxy adds a X-Forwarded-Host header when it makes a request to the proxied server; the header contains a copy of the original Host header, and allows the proxied server to see what its public address is.
Many web application frameworks, including Rails as I write this, look for this header in order to behave correctly.
It would be wonderful if lighttpd's mod_proxy could also send this header.
-- stephen_purcell