本帖最后由 jarain 于 2012-07-17 11:55:36 编辑

解决方案 »

  1.   

    RewriteEngine On
    RewriteBase /RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)/?$ index.php?id=$1[L]RewriteRule . /index.php [L]
      

  2.   


    RewriteEngine OnRewriteBase /
    RewriteRule ^([a-zA-Z]+)/?$ index.php?id=$1 [L]
    ErrorDocument 404 /404.php
    #RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    谢谢,不过我这样试了一下,还是不行。可以去d.600duan.com 看一下,那个“郭德纲”其实应该就是404的。d.600duan.com/404.php是可以正常访问的。另外 d.600duan.com/shuguan 跟 d.600duan.com/shuguan/ 的页面其实也不同。唉~  愁死了~