Discussion:
reverse proxy: how to make it to pass headers to backend server?
Gael Marziou
2003-02-21 22:54:20 UTC
Permalink
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
Graham Leggett
2003-02-22 11:15:00 UTC
Permalink
Post by Gael Marziou
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
--
-----------------------------------------
***@sharp.fm "There's a moon
over Bourbon Street
tonight..."
Gael Marziou
2003-02-23 10:36:27 UTC
Permalink
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
Kwindla Hultman Kramer
2003-02-25 12:33:16 UTC
Permalink
Post by 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?
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

Loading...