为什么此规则不返回带有字符的斜杠?
RewriteRule ^test/(.+)/(.+)/(.+)/?$ test.php?one=$1&two=$2&three=$3
例如在这个 URL
mysite.com/test//一个///两个////三个///
它会回来的
$1='one'
$2='two'
$3='three'
但我希望它回来
$1='/one'
$2='//two'
$3='///three///'
我也尝试过^posts/{1}(.+)/{1}(.+)/{1}(.+)/?$
,但它也没有工作......
我没有想到其他任何事情。任何人都可以帮忙吗?
提前致谢