Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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:

http://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?

share|improve this question

1 Answer 1

check this link out,may can be helpful

http://codeblog.shawson.co.uk/iis7-urlrewrite-outbound-links-with-compression-enabled/

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  Tom O'Connor Feb 5 at 7:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.