大多数现成的IIS rewriteRules都是面向rewrite.dll的,这里是我写的一个简单的面向的.
Copy + Paste 即可解决你的烦恼.

Put this below into the isapirewirte4.ini

RewriteRule ^/forum-([0-9]+)-([0-9]+).html$ /forumdisplay.php?fid=$1&page=$2 [L]
RewriteRule ^/thread-([0-9]+)-([0-9]+)-([0-9]+).html$ /viewthread.php?tid=$1&extra=page\%3D$3&page=$2&$3 [L]
RewriteRule ^/space-(username|uid)-(.+).html$ /space.php?$1=$2&$3
RewriteRule ^/archiver/((fid|tid)-[\w\-]+.html)$ /archiver/index.php?$1&$2 [L]
RewriteRule ^/tag-(.+).html$ /tag.php?name=$1&$2
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • BlinkList
  • blogmarks
  • Haohao
  • MySpace
  • Twitter
  • Yahoo! Bookmarks

Related posts