Iis 需要将特殊字符替换为Url重定向中的-

Iis 需要将特殊字符替换为Url重定向中的-,iis,url-rewriting,url-rewrite-module,Iis,Url Rewriting,Url Rewrite Module,我需要重定向包含特殊字符的URL以使用-符号 我使用了以下规则 <rules> <rule name="Productredirect" stopProcessing="true"> <match url="^products/(\w+[^/]*)[/]([0-9]*).aspx$" /> <action type="Redirect" url="{R:1}-{R:2}" appendQueryString="fa

我需要重定向包含特殊字符的URL以使用
-
符号

我使用了以下规则

<rules>
    <rule name="Productredirect" stopProcessing="true">
        <match url="^products/(\w+[^/]*)[/]([0-9]*).aspx$" />
        <action type="Redirect" url="{R:1}-{R:2}" appendQueryString="false" />
    </rule>
</rules>

我需要将URL:localhost/newui/products/Synco Signature Carrom Board-%28-4-x-2%29替换为Coin,-Striker和Z VCD Set/5647.aspx 到


URL:localhost/newui/syco-Signature-Carrom-Board-4-x-2-with-Coin-sliker-andz-VCD-Set-5647这是什么配置语言?什么http服务器处理这样的配置?提供输入和重定向URI的示例。嗨,我需要替换为