需要濾掉query string
於是有以下的文章
重點摘錄
<rule name="Rewrite querystring" stopProcessing="true">
<match url="^abc/pqr/xyz/?$" />
<conditions>
<add input="{QUERY_STRING}" pattern="^word1$" />
</conditions>
<action type="Redirect" url="{R:0}?word2" appendQueryString="false" />
</rule>
這個文件位於
ApplicationHost.config. This file is located in %windir%\system32\inetsrv\config
http://technet.microsoft.com/en-us/library/cc754617(v=ws.10).aspx
沒有留言:
張貼留言