You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modproxy-dev@apache.org by Gael Marziou <ga...@.free.fr> on 2003/02/21 23:54:20 UTC

reverse proxy: how to make it to pass headers to backend server?

Hello,

I have an Apache 1.3.19 server configured in reverse proxy, I would
like it to pass some additional HTTP headers to the backend server.

I tried the 'Header' directive but it seems it will add only to HTTP
responses back to the browser and not to HTTP requests forwarded to
the backend server.

Any suggestion?

Thanks,

Gael


Re: reverse proxy: how to make it to pass headers to backend server?

Posted by Gael Marziou <ga...@.free.fr>.
Thanks a lot Graham, you're right, I did not know this new feature, I
think I have to upgrade to 2.0 now.

Gael


Re: reverse proxy: how to make it to pass headers to backend server?

Posted by Graham Leggett <mi...@sharp.fm>.
Gael Marziou wrote:

> I have an Apache 1.3.19 server configured in reverse proxy, I would
> like it to pass some additional HTTP headers to the backend server.
> 
> I tried the 'Header' directive but it seems it will add only to HTTP
> responses back to the browser and not to HTTP requests forwarded to
> the backend server.

You are looking for the RequestHeader directive available in Apache v2.0.

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."


Re: reverse proxy: how to make it to pass headers to backend server?

Posted by Kwindla Hultman Kramer <kw...@allafrica.com>.
Gael Marziou writes:
 > Hello,
 > 
 > I have an Apache 1.3.19 server configured in reverse proxy, I would
 > like it to pass some additional HTTP headers to the backend server.
 > 
 > I tried the 'Header' directive but it seems it will add only to HTTP
 > responses back to the browser and not to HTTP requests forwarded to
 > the backend server.
 > 
 > Any suggestion?
 > 

I maintain a patch for the 1.3-series Apache releases that allows you
to do this (and a few other things). 

  http://allafrica.com/tools/apache/mod_proxy/

Kwin