url rewriting - IIS URL Rewrite re-appears after deployment -


i using "application request routing" (arr) , url rewrite 2.0 implement reverse proxy in iis. server set this:

  • server - no url rewrite rules specified, arr proxy enabled
    • app 1 - bound 8080 , hostname app.site.com, no url rewrite rules specified
    • redirect - bound *:80 , *:443, url rewrite configured (.*) http://localhost:8080/{r:1}

this works fine, until deploy new version of "app 1" using web deploy. @ point unexpected url rewrite rule appears in configuration "app 1" value /(.*), breaks everything. noticed rule re-inserted whenever click "revert parent" in configuration, parent (which assume server node) doesn't have rules configured.

why rule appear?

if ever happens you, it's because iis interface lying url rewrite rules configured server node. absolutely sure rewrite rules in applicationhost.config:

  1. open configuration node server in iis
  2. open management -> configuration editor
  3. go "system.webserver/rewrite/rules" section.
  4. make sure says "count=0". if there entries, delete them , stop adding rule each deployment.

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -