RewriteEngine敘述上
RewriteCond%{HTTP_HOST}!^ windowsz \\。NET $ [NC]
RewriteRule ^(.*)$ http://windowsz.net/ $ 1 [R = 301,L]
DirectoryIndex forum.php index.php的索引。PHP3 messagebrd.pl的index.html INDEX.HTM
RewriteBase /
RewriteRule存檔 /的index.php?/ $ 2&語言 = $ 1 [L,QSA]
RewriteRule forum.php?語言 = $ 1 [L,QSA]
RewriteRule 2美元?語言 = $ 1 [QSA]
RewriteRule ^((urllist | sitemap_).* \\(XML | TXT)(\\。GZ)?)$ vbseo_sitemap / vbseo_getsitemap.php?地圖 = $ 1 [L]
選項 + FollowSymLinks
###這是個額外的安全性,可以被刪除
RewriteRule ^包括/(.*)的index.php
RewriteRule ^ VB /(.*)的index.php
RewriteRule ^包/(.*)的index.php
###這是實際的REWRITE
RewriteRule ^線程 /([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/頁([0-9] +) ?))showthread.php?噸 = $ 1&頁 = $ 2&%{QUERY_STRING}
RewriteRule ^成員 /([0-9] +)member.php?U = $ 1&%{QUERY_STRING}
RewriteRule ^論壇 /([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/頁([0-9] +) ?))forumdisplay.php在?F = $ 1&頁 = $ 2&%{QUERY_STRING}
RewriteRule ^博客/([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/頁([0-9] +) ?))blog.php?U = $ 1&頁 = $ 2&%{QUERY_STRING}
RewriteRule ^項 /([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/頁([0-9] +) ?))entry.php?B = $ 1&頁 = $ 2&%{QUERY_STRING}
RewriteRule ^名單 /([^/]*/)([ 0-9] +)list.php?R = $ 1 $ 2&%{QUERY_STRING}
RewriteRule ^內容 /(.*) content.php?R = $ 1&%{QUERY_STRING}
RewriteRule ^構件 /配置/([0-9] +)widget.php?R =配置/ $ 1&%{QUERY_STRING}