伪静态Rewrite 解决中文变量的问题

原创
2016-06-23 14:23:44 890浏览

如页面http://127.0.0.1/so.php?id=伪静态

[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP

RewriteRule ^(.*)/(大家注意这里?).html(\?(.*))*$ $1/so\.php\?id=$2

怎样才能做到这样采用中文变量的伪静态。http://127.0.0.1/伪静态.html


回复讨论(解决方案)

对中文字符编码2次

不用二次编码 伪静态本来就是用的正则表达式

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。