Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
wolfhowling CreditAttribution: wolfhowling commented