httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] Reverse Proxy - HTTP Response Header and Query String Params
Date Wed, 16 Aug 2006 15:38:50 GMT
On 8/16/06, Brian Hill <> wrote:
> Hi,
> How can I use a reverse proxy to modify a query string parameter in an HTTP
> response header coming from my backend server?
> I'm setting up Apache 2.2 as a reverse proxy in front of a 3rd party app.  I
> have just about everything working except for the following.  If I hit the
> URL:
> ... the reverse proxy passes this on to the backend server, which generates
> a response header with a location like:
> Using ProxyPassReverse, I can change the first bit of the URI as needed, but
> how can I rewrite the query string parameter p_submit (from
> "" to ""?  Will ProxyPassReverse
> allow me to alter parameters?  Or, should I be using mod_rewrite
> (RewriteRule)?

As far as I know, there is no existing feature or module that can do this.

I'm not sure why it is really necessary, however.  Given that
ProxyPassReverse directs the request back to your reverse proxy, you
can monkey with the query string when you get the request back
(probably with mod_rewrite).

So, no, there is no way to make arbitrary changes to response headers,
but mod_rewrite can certainly handle this when it comes back as a new


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message