I've been trying to create outbound rules in IIS 7.5 on Windows 2008 R2 on a site that has static HTML pages and compression enabled.
If I have any form of compression enabled (static or dynamic) I get this 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").
Turning off compression is not really an option due the large negative impact that would have on page load performance.
I imagine anyone who uses outbound rewrite rules is going to run into this error, as you would always want compression enabled for textual content.
I've looked at some suggestions to get this to work:
https://stackoverflow.com/questions/3713804/url-rewrite-outbound-rules-iis7/4363301#4363301
and
http://forums.iis.net/p/1165899/1937454.aspx#1937454
But I still get the same error.
Has anyone got this to work? If so how?