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
###这是实际的重写
RewriteRule ^线程/([0-9 ]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/页([0-9]) ?))showthread.php?T = $ 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}