Apache's ProxyPass and ProxyPassReverse equivalent in IIS

Mohan picture Mohan · Oct 17, 2012 · Viewed 10.7k times · Source

Is there Apache's mod_proxy equivalent in IIS?

I have following configuration in my Apache's httpd.conf (mod_proxy enabled):

Header add Set-Cookie "ROUTEID=hej.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED
<Proxy balancer://openfire>
    BalancerMember http://server2:7070/http-bind/ route=1
    ProxySet stickysession=ROUTEID
</Proxy>

ProxyPass /project1/http-bind balancer://openfire nofailover=Off
ProxyPassReverse /project1/http-bind balancer://openfire

I need to do similar config for IIS. I tried ARR (Application Request Routing) but could not get it working.

Can someone help me to achieve this?

Thanks.

Answer

Joel Peltonen picture Joel Peltonen · Jul 15, 2013

I believe you are looking for Application Request Routing. For examples, there are many on StackOverflow already, such as this one.