Request for X-Forwarded-Uri
am 19.12.2003 23:00:07 von Marcus DoemlingHi,
I would like to request a feature regarding the
X-Forwarded headers. I would like one more of those,
called X-Forwarded-Uri which contains the original
unparsed URI. This could be simply achieved by the following
line added to proxy_http.c:
ap_table_mergen(req_hdrs, "X-Forwarded-Uri", r->unparsed_uri);
This could be added where all the other X-Forwarded
headers are defined. It would be great to see this feature
in the official release.
I am using this with mod_perl in the classic front-end / back-end
server setup such that the back-end mod_perl server can
use the info about the original URI while the front-end
server performs some URI rewriting. Maybe this feature
could be of general benefit.
Thanks,
Marcus