标准的httpd.ini [ISAPI_Rewrite] RewriteRule /test.html /test.asp RewriteRule /blog/sitemap.xml /blog/sitemap.xml [L] RewriteRule /blog/wap(.*) /blog/wap$1 [L] RewriteRule /blog/content/uploads/(.*) /blog/content/uploads/$1 [L] RewriteRule /blog/wp-(.*) /blog/wp-$1 [L] RewriteRule ^/$ /index.php [L] RewriteRule /blo More
# 将 RewriteEngine 模式打开 RewriteEngine On # 修改以下语句中的 /bbs 为你的论坛目录地址,如果程序放在根目录中,请将 /bbs 修改为 / RewriteBase /bbs # Rewrite 系统规则请勿修改 RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^topic-(.+)\.html$ portal.php?mod=topic&topic=$1&%1 RewriteCond %{QUERY_STRING} ^( More