+ -
当前位置:首页 → 问答吧 → IIS 伪静态,参数是中文,规则该怎么写?比如

IIS 伪静态,参数是中文,规则该怎么写?比如

时间:2011-06-29

来源:互联网

IIS 伪静态,参数是中文,规则该怎么写?比如:

要将 a.asp?name="数码相机" 能用 a-数码相机.htm 来访问,

这个规则如何写?


作者: lostmoon   发布时间: 2011-06-29

哪有你这样玩的
人家a.asp?name="数码相机" 也是弄成a_name.htm 来访问

作者: XiaoYe_Loison   发布时间: 2011-06-29

不好意思,看错了,你用这个
RewriteRule /a-([\u4e00-\u9fa5])\.html /a\.asp\?ID=$1 [N,I]

作者: XiaoYe_Loison   发布时间: 2011-06-29