在windows Server2008中使用的Rewrite是IIS7 MS自己的组件,非第三方~~
^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?{R:1}
^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid={R:1}&page={R:2}
^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid={R:1}&extra=page\%3D$3&page={R:2}
^space-(username|uid)-(.+)\.html$ space.php?{R:1}={R:2}
^tag-(.+)\.html$ tag.php?name={R:1}
黑色部分填写在 Pattern 红色部分填写在Rewrite Url
其他部分保持不变 Name自己命名~~~
论坛目录下不必放置.htaccess 文件了~~~ IIS7 很强!
- 上一篇:IIS 7 Web服务器管理
- 下一篇:临清jsp空间服务商的选择和评测