本帖最后由 cq1986 于 2009-07-18 09:00:19 编辑

解决方案 »

  1.   

    RewriteRule ^index.asp$ index.php [L,QSA]
    后面加上这个试试。 
      

  2.   

    urlrewrite不能直接获得查询字符串的
    用QUERY_STRING获得后截取,然后转向
    可以用RewriteCond
    RewriteCond %{QUERY_STRING} ^boardid\=([0-9]+)?$ [NC]
      

  3.   

    这个功能让rewrite来做并不好。建议你在phpwind程序的最前面加入:
    $_GET['fid']=$_GET['boardid'];
    $_GET['tid']=$_GET['Id'];
      

  4.   

    示例:
    RewriteEngine on
    RewriteCond %{QUERY_STRING} ^boardid\=([0-9]+)?$ [NC]
    RewriteRule ^index(.*)$ http://你的域名/thread.php\?fid=%1 [R=301,L]这样index.asp?boardid=5就会转到 http://你的域名/thread.php?fid=5