xxxxxx.com/cake-0-1-0-0-0-0-0-0-0-0.html
这样的伪静态,用.htaccess要如何写规则?
=================
RewriteRule ^cake-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(\d+)-(.*)\.html$ cake-$8\.htmlcategoryid=$1&page=$2&price=$3&sortid=$4&num=$5&p1=$6&p2=$7[C,NC]
RewriteRule ^cake-(\d+)-(\d+)-(\d+)\.html(.*) cake\.aspx\?$4&p3=$1&p4=$2&key=$3[QSA,L,NC]
参考网上资料写的规则,用这样的貌似不行。请教大家,谢谢
因为参数超过10个,所以需要用到[C,NC]和[QSA,L,NC]
我是在win2003 64位下使用Helicon的Rewrite组件