.htaccess rewrite规则问题
变量已经用红色全部标注,麻烦大家帮忙看下哪儿写的不对
URL:
/ListInfo.php?&mid=
0&classid=
2&line=
0&tempid=
0&orderby=
0&myorder=
0&ph=1&test1=
0&testfield3=
2&testfield4=
0&
testfield4=
3__5
.htaccess 规则:
RewriteRule ^
(.*)select-
([0-9]+)-
([0-9]+)-
([0-9]+)-
([0-9]+)-
(.*)-
([0-9]+)-1-
(.*)-
(.*)-
(.*)-
(.*)-
(.*)\.shtml$
$1ListInfo.php?&mid=
$2&classid=
$3&line=
$4&tempid=
$5&orderby=
$6&myorder=
$7&ph=1&test1=
$8&testfield3=
$9&testfield4=
$10&
$11=
$12&%1 [L,NC]
.htaccess
url
------解决方案--------------------后向引用 的数量不能超过 10 !
即只能是 $0, $1,...$9
是否有突破的方法,你可以搜索一下。
我只知道 php 中可用花括号括起 {$11}