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 14518] - QUERY_STRING parts not incorporated by mod_rewrite
Date Wed, 04 Jan 2006 15:18:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=14518>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=14518





------- Additional Comments From marcus@fysix.com  2006-01-04 16:18 -------
I have struggled for a long time with mod_rewrite trying to pass on query 
string arguments to a backend proxy. In my case my backend proxy server uses 
mod_perl to generate dynamic content. As a tool to allow the backend server to 
retrieve the query string arguments without relying on mod_rewrite to 
correctly pass them on I patched mod_proxy to create an "X-Forwarded-Uri" 
header which contains the unparsed URI. I had requested a long time ago to add 
this feature to the official release since I'm sure this could help a lot of 
people. I hope that somebody on this list can persuade whoever has the power 
to make such a change.

Here is a link to the mailing list archive with my suggestion:

http://mail-archives.apache.org/mod_mbox/www-modproxy-dev/200312.mbox/%
3cPine.LNX.4.21.0312191653140.28629-100000@alpha.fysix.com%3e

For your convenience here is a copy:

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



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message