We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

ARR rewrites URLs, it should not rewriteRSS

0 replies

Last post Dec 06, 2018 04:25 PM by T.Glatzer

  • 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.