文章詳情頁
Windows Server 2008 IIS7 UrlRewriteModule 規則
瀏覽:80日期:2023-06-30 18:53:24
^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 很強!
注意 Server2008 使用 的Rewrite是IIS7 MS自己的組件,非第三方~~
標簽:
Windows系統
相關文章:
1. SSL為Windows server 2008 IIS7進行加密連接2. Windows Vista上的IIS7設置全攻略3. Windows Vista上的IIS7設置攻略4. Windows Vista中IIS7的安裝及配置ASP+Access環境5. Windows Vista系統IIS7設置秘技大公開6. Win7系統iis7部署網站啟用或禁用目錄瀏覽的操作方法7. 為Vista/Win2008中的IIS7添加PHP支持(圖)8. Windows 7下IIS7的安裝及ASP配置9. Win7系統IIS7本地ASP進入后臺錯誤80004005如何解決?10. Windows Server 2008 r2 x64中配置IIS7.0全腳本環境
排行榜
