URL重写出站规则失败

URL重写出站规则失败,url,iis,url-rewriting,reverse,outbound,Url,Iis,Url Rewriting,Reverse,Outbound,我有两条出站规则,在比赛前附加ICSearch。以下作品- <rule name="RewriteString" preCondition="ResponseIsHtml1"> <match filterByTags="None" pattern="/Backflow/index\?handler=" ignoreCase="true" /> <action type="Rewrite" value="ICSearch{R:0}" /> </rule&

我有两条出站规则,在比赛前附加ICSearch。以下作品-

<rule name="RewriteString"  preCondition="ResponseIsHtml1">
<match filterByTags="None" pattern="/Backflow/index\?handler=" ignoreCase="true" />
<action type="Rewrite" value="ICSearch{R:0}" />
</rule>
<rule name="RewriteString2"  preCondition="ResponseIsHtml1">
<match filterByTags="None" pattern="/Plumbing/index\?handler=" ignoreCase="true" />
<action type="Rewrite" value="ICSearch{R:0}" />
</rule>

我想让它更通用,并创建一个无论目录如何都匹配的正则表达式

我试过了

<rule name="RewriteString2"  preCondition="ResponseIsHtml1">
<match filterByTags="None" pattern="(*.)\?handler=" ignoreCase="true" />
<action type="Rewrite" value="ICSearch{R:0}" />
</rule>

但它不会重写这些值。你知道我做错了什么吗?
谢谢

您可以使用FRT进行更深入的挖掘。请更正您的模式并使用(.*)。你能举例说明你的确切要求吗