• [ISAPI_Rewrite]
  • - # 3600 = 1 hour
  • CacheClockRate 3600
  • - RepeatLimit 32
  • - # Protect httpd.ini and httpd.parse.errors files
  • # from accessing through HTTP
  • - RewriteRule ^(.)/archiver/showforum-([0-9]+)\.html\?(.*)$ $1/forum\.php\?mod=forumdisplay&fid=$2&archiver=1
  • RewriteRule ^(.)/archiver/showtopic-([0-9]+)\.html\?(.*)$ $1/forum\.php\?mod=viewthread&tid=$2&archiver=1
  • RewriteRule ^(.)/showtree.aspx\?topicid=([0-9]+)&postid=([0-9]+)\?(.*)$ $1/thread-$2-1-1\.html
  • RewriteRule ^(.)/showtree.aspx\?postid=([0-9]+)\?(.*)$ $1/thread-$2-1-1\.html
  • RewriteRule ^(.)/showforum-([0-9]+)\.html\?(.*)$ $1/forum-$2-1\.html
  • RewriteRule ^(.)/showforum-([0-9]+)(?:-([0-9]+))?\.html\?(.*)$ $1/forum-$2-$3\.html
  • RewriteRule ^(.)/showforum-([0-9]+)\.aspx\?(.*)$ $1/forum-$2-1\.html
  • RewriteRule ^(.)/showforum-([0-9]+)(?:-([0-9]+))?\.aspx\?(.*)$ $1/forum-$2-$3\.html
  • RewriteRule ^(.)/showtopic.aspx\?topicid=([0-9]+)\?(.*)$ $1/thread-$2-1-1\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)\.html\?(.*)$ $1/thread-$2-1-1\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)-([0-9]+)\.html\?(.*)$ $1/thread-$2-$3-1\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)(?:-([0-9]+)(?:-([0-9]+))?)?\.html\?(.*)$ $1/thread-$2-$3-$4\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)\.aspx\?(.*)$ $1/thread-$2-1-1\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)-([0-9]+)\.aspx\?(.*)$ $1/thread-$2-$3-1\.html
  • RewriteRule ^(.)/showtopic-([0-9]+)(?:-([0-9]+)(?:-([0-9]+))?)?\.aspx\?(.*)$ $1/thread-$2-$3-$4\.html
  • RewriteRule ^(.)/topic-(.+)\.html\?(.*)$ $1/portal\.php\?mod=topic&topic=$2&$3
  • RewriteRule ^(.)/article-([0-9]+)-([0-9]+)\.html\?(.*)$ $1/portal\.php\?mod=view&aid=$2&page=$3&$4
  • RewriteRule ^(.)/forum-(\w+)-([0-9]+)\.html\?(.*)$ $1/forum\.php\?mod=forumdisplay&fid=$2&page=$3&$4
  • RewriteRule ^(.)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?(.*)$ $1/forum\.php\?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$5
  • RewriteRule ^(.)/group-([0-9]+)-([0-9]+)\.html\?(.*)$ $1/forum\.php\?mod=group&fid=$2&page=$3&$4
  • RewriteRule ^(.)/space-(username|uid)-(.+)\.html\?(.*)$ $1/home\.php\?mod=space&$2=$3&$4
  • RewriteRule ^(.)/([a-z]+)-(.+)\.html\?(.*)$ $1/$2\.php\?rewrite=$3&$4复制代码IIS的规则想转成apache 求高手,小弟在这里先谢了