I\'m using IIS7 Application Request Routing in front of Tomcat as a replacement for ISAPI redirection. The basic reverse proxy function is working well, but I don\'t have en
Application Request Routing has an option to preserve the original host header: preserveHostHeader. This option is by default false. You can enable it with:
"C:\Windows\System32\inetsrv\appcmd.exe" set config -section:system.webServer/proxy /preserveHostHeader:"True" /commit:apphost
You could set the preserveHostHeader
flag by hand.
<proxy enabled="true" preserveHostHeader="true" />
</system.webServer>
In the iis configuration gui you can find this value under system.webServer/proxy
.