IIS rewrite映射规则语法格式
IIS rewrite映射规则语法格式,特殊符号:&
请用& amp;
代替,否则异常。
<configuration> <system.webServer> <rewrite> <rules> <rule name="bbs board" enabled="true"> <match url="^forum_([0-9]+)\.htm$" /> <action type="Rewrite" url="/list/{R:1}" /> </rule> </rules> </rewrite> </system.webServer> </configuration>