HTTP 500.53 URL rewrite module error for DXC Service

  • Updated

500.53 URL rewrite module error with message Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ('gzip') with Application Insights enabled.

Add and/or change either doDynamicCompression or doStaticCompression or both to false in urlCompression element in web.config.

<urlCompression doStaticCompression="false" doDynamicCompression="false" />
For DXC Service clients compression doesn't need to be enabled for the response to end user to be compressed as CDN provider will compress the response regardless for common content-types.
But only do this change if you experience this error.