Re: Apache proxy based on condition
am 15.03.2010 20:42:26 von alin vasile--0-1100593501-1268682146=:11939
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi All,
I am configuring a reverse proxy with Apache 2.2 and I need for cert=
ain conditions to make a request to another proxy. These conditions are bas=
ed on some request headers and I can use them directly or mod_setenvif to c=
onfigure a variable based on them.
For example I would like the following flow:
For request header X-Custom-Type TYPE_1 -> forward to proxy 1For request he=
ader X-Custom-Type TYPE_2 -> forward to proxy 2etc...
I know that there is the directive ProxyRemote in mod_proxy but this =
can be used at most with an url regular expression.
Did anyone managed to set up a flow like this?
Regards,Alin
=0A
--0-1100593501-1268682146=:11939
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
top" style=3D"font: inherit;"> t-size: medium; ">Hi All, |
--0-1100593501-1268682146=:11939--