如何重写URL VietNamese字符IIS Web.Config

时间:2018-12-22 02:38:54

标签: c# asp.net iis url-rewriting

我想用越南字符重写URL

                                          

<rule name="Detail Product">
    <match url="^Product-Detail/([a-zA-Z0-9_-]+).html$" ignoreCase="false" />
    <action type="Rewrite" url="index.php?page={R:0}&amp;id={R:1}" appendQueryString="true" />
</rule>

最后:

  

localhost / Product-Detail / con-ga-ha-ha-5.html 工作

     

localhost / Product-Detail /con-gà-há-há-5.html不起作用

0 个答案:

没有答案