My setup: Windows 2012 R2 IIS 8.5

When i update the site to 8.1.7 it breaks the site with the fallowing error many times on the browser console and the theme is all messed up:

Failed to load resource: the server responded with a status of 500 (URL Rewrite Module Error.)

If i copy the old web.config back to the site it works fine, if i manually add the new lines to the web.config the same thing happens.

This is the new lines causing the problem:

      <rule name="Erase HTTP_PROXY" patternSyntax="Wildcard">
          <match url="*.*" />
          <serverVariables>
            <set name="HTTP_PROXY" value="" />
          </serverVariables>
          <action type="None" />
        </rule>

Update:I did not notice the match url line above had to match my current web address after changing that the site is back to normal.

Comments

wolfhowling created an issue. See original summary.

wolfhowling’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.