RewriteRule ^/Product/(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9})_(\d{0,9}).html /Product/plist.aspx?CateID=$1&c=$2&m=$3&d=$4&t=$5&ct=$6&p=$7&s=$8&b=$9&page=$10
RewriteRule ^/Product/(\d{0,9})_(\d{0,9})_(\d{0,9})_(.*)_(\d{0,9}).html /Product/products.aspx?NodeID=$1&CID=$2&s=$3&b=$4&page=$5
配置了如上两个列表。。
如果输入http://xxx/Product/24_1_0_0_0_0_0_0_0_1.htm 配第二个配置给拦截了。。请问有没有解决方法。
把少参数的配置放在前面
RewriteRule ^/Product/(\d{0,9})_(\d{0,9})_(\d{0,9})_((?!_).*)_(\d{0,9}).html /Product/products.aspx?NodeID=$1&CID=$2&s=$3&b=$4&page=$5
把多的放到前面,并且在每个最后面加上[I,L]限制