How to dynamically add rules to IIS rewrite map?
问题 The multitenant app I am working on require many rewrite rules to be inserted/deleted dynamically. With IIS, we are thinking of using rewrite map. How do one insert rules to the rewrite map dynamically? manipulate the webconfig.xml directly? Would IIS pick up the changes immediately? Is there a hard limit on how many rules can be added? Or... is there a better way? Thanks 回答1: Here are the generic rules I add to my local web.config file. <rule name="301 Redirects for ColdFusion"> <match url="