提交以后,我們再返回到上面找到“查看當前的rewrite規(guī)則”,點擊打開后,找到“IIS Web Server(獨立主機用戶)”,因為我用的win2003服務器,所以我選擇這個,如果你用的是不同的服務器,選擇對應的其他項即可,這樣我們將IIS Web Server(獨立主機用戶)下面的內容復制下來:
[ISAPI_Rewrite]
# 3600 = 1 hour CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files # from accessing through HTTP RewriteRule ^(.*)/forum-(\w+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$5 RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html(\?(.*))*$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$6 RewriteRule ^(.*)/(fid|tid)-([0-9]+)\.html(\?(.*))*$ $1/index\.php\?action=$2&value=$3&$5 RewriteRule ^(.*)/([a-z]+[a-z0-9_]*)-([a-z0-9_\-]+)\.html(\?(.*))*$ $1/plugin\.php\?id=$2:$3&$5