c# - 如何重写 URL 越南语字符 IIS Web.Config
问题描述
我想用越南字符重写 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}&id={R:1}" appendQueryString="true" />
</rule>
最后:
localhost/Product-Detail/con-ga-ha-ha-5.html工作
localhost/Product-Detail/con-gà-há-há-5.html不工作
解决方案
推荐阅读
- jekyll - 不允许 Jekyll 服务操作
- sql - 有没有一种有效的方法可以在一次 SQL 调用中获得完整的计数和结果(使用 LIMIT)?
- javascript - mongodb在保存数组时为键名添加括号
- python - 预计 freetype 版本 2.6.1。找到 freetype 版本 2.9.1。Python
- google-apps-script - 每次保存新数据时,我都需要我的宏“保存”按钮添加一个新行,而不是替换之前保存的当前行
- c++ - 如何在 C++ 中创建优先级队列作为成员变量?
- ansible - 设置用于下一个任务的变量
- php - 如何从 MySQLI 数据库中选择并显示活动用户的名称
- django - 无法导入模块“处理程序”:没有名为“werkzeug”的模块
- python - Disable QDial mouse clicks and change the needle