reverse proxy: how to make it to pass headers to backend server?
reverse proxy: how to make it to pass headers to backend server?
am 21.02.2003 23:54:20 von Gael Marziou
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?
am 22.02.2003 12:15:00 von Graham Leggett
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?
am 23.02.2003 11:36:27 von Gael Marziou
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?
am 25.02.2003 13:33:16 von Kwindla Hultman Kramer
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