list.php?&cpage=2  想变成这样的
list2.html求写法。  谢谢

解决方案 »

  1.   


    RewriteCond %{QUERY_STRING} ^(.*)$
    RewriteRule ^list([0-9]+).html$  /list.php/?&cpage=$1 [L,NC]
    你输入list3.php看看
    list.php<?php
    $myVar = isset($_GET['cpage'])?$_GET['cpage']:"Sorry";
    echo $myVar." TEST";
    ?>
      

  2.   

    RewriteCond %{QUERY_STRING} ^(.*)$
    RewriteRule ^list([0-9]+).html$  /list.php/?&cpage=$1 [L,NC]  这里是不是多了个“/”