我的网址是
foo.com/req/page/id
其中id已加密,
foo.com/req/page/C5JN38LD2OIyuQWCQ0hC3Jn+5FDvgdS1V478/7/UAZU=
编码时
http://foo.com/req/page/C5JN38LD2OIyuQWCQ0hC3Jn%2B5FDvgdS1V478%2F7%2FUAZU%3D
并重写规则,
RewriteRule ^req/([a-zA-Z0-9_-]+)/(.*)$ index.php?page=$1&id=$2 [B]
当编码的网址包含%
时,重写不会发生