Reverse Proxy setup returns a HTTP Error 500.52 - URL Rewrite Module Error


Article ID: 156079


Updated On:


Mobile Management


In a Mobile Management installation with an IIS ARR Reverse Proxy configured, the response from one or more of the pages is a 500.52 URL Rewrite Module Error.

HTTP Error 500.52 - URL Rewrite Module Error.
Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ("gzip").


The default for many IIS installations is to include compression, however, the default configuration of the Reverse Proxy is unable to decode and reencode the compressed response from the proxied server.


On the Reverse Proxy server, edit the web.config file found at C:\inetpub\wwwroot, and for the inbound rule(s), add the following bold content:

 <rule name="ReverseProxyInboundRule2" stopProcessing="true">
  <match url="(certsrv/.*)" />
  <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
  <action type="Rewrite" url="{R:1}" logRewrittenUrl="true" />
    <set name="HTTP_ACCEPT_ENCODING" value="" />

This might be needed for one or more of the rules, depending on where the error is seen, and the environment configuration.

Applies To

Symantec Mobile Management
Reverse Proxy server running Windows Server 2008 R2 with IIS 7.5 and Application Request Routing (ARR).