IIS7 Rewrite Map Regex?

后端 未结 1 1966
鱼传尺愫
鱼传尺愫 2021-01-11 14:44

Is it possible to use reg ex in a rewrite map? For example:


   
&         


        
相关标签:
1条回答
  • 2021-01-11 15:28

    Unfortunately not, you'll need to create a rule to use regular expressions.

    Notice that there is no obvious common pattern in the keys and their relation to values. This means that it is not possible to use regular expressions or wildcards to define URL transformation logic. http://www.iis.net/learn/extensions/url-rewrite-module/using-rewrite-maps-in-url-rewrite-module

    0 讨论(0)
提交回复
热议问题