If you use ARR as a Proxy, it provides a settings thats called "rewriteRewriteHostInResponseHeaders".
If this is set to "true" (which seems to be default), things go wrong.
Location Headers are rewritten despite them targeting an external host.
For example, we have an application (app.domain.tld), which is using ADFS for authentication.
Therefore it will issue a Location Header: "https://sts.domain.tld/adfs/ls[…]". This header will be rewritten by ARR to "https://app.domain.tld/adfs/ls" which is wrong, obviously.
1 Post
ARR rewrites URLs, it should not rewrite
Dec 06, 2018 04:25 PM|T.Glatzer|LINK
If you use ARR as a Proxy, it provides a settings thats called "rewriteRewriteHostInResponseHeaders".
If this is set to "true" (which seems to be default), things go wrong.
Location Headers are rewritten despite them targeting an external host.
For example, we have an application (app.domain.tld), which is using ADFS for authentication.
Therefore it will issue a Location Header: "https://sts.domain.tld/adfs/ls[…]". This header will be rewritten by ARR to "https://app.domain.tld/adfs/ls" which is wrong, obviously.