phpwind偽靜態(tài)規(guī)則(IIS,Nginx,Apache)的介紹及代碼
phpwind iis下偽靜態(tài)規(guī)則
[ISAPI_Rewrite]
RewriteRule ^(.*)/(.*)-htm-(.*)-(.*)\.html$ $1/$2\.php\?$3=$4
RewriteRule ^(.*)/read-htm-tid-(.*)\.html$ $1/read\.php\?tid=$2
RewriteRule ^(.*)/thread-htm-fid-(.*)\.html$ $1/thread\.php\?fid=2
RewriteRule ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index\.php\?$2
phpwind apache下偽靜態(tài)規(guī)則
RewriteEngine On
RewriteRule ^(.*)/thread-htm-tid-(\d+)-(.*).html $1/thread.php?fid=$2
RewriteRule ^(.*)/read-htm-tid-(\d+)-(.*).html $1/read.php?tid=$2
RewriteRule ^(.*)/commtopics-(\d+)-(.*)$ $1/thread.php?fid=$2&page=$3
RewriteRule ^(.*)/commtopics-(.*)$ $1/thread.php?fid=$2&page=$3
RewriteRule ^(.*)/article-(\d+)-(\d+)-(.*).html$ $1/read.php?tid=$2&page=$3&fpage=$4
RewriteRule ^(.*)/article-(\d+)-(.*).html$ $1/read.php?tid=$2&page=$3
RewriteRule ^(.*)/article-(.*).html$ $1/read.php?tid=$2
RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
RewriteRule ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2
phpwind nginx下偽靜態(tài)規(guī)則
location / {
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
}
上一篇:PHPcms建站系統(tǒng)-個人建站必不可少的工具
欄 目:phpcms
下一篇:Phpcms V9 調(diào)用全站最新文章的方法
本文標(biāo)題:phpwind偽靜態(tài)規(guī)則(IIS,Nginx,Apache)的介紹及代碼
本文地址:http://mengdiqiu.com.cn/a1/phpcms/9928.html
您可能感興趣的文章
- 01-10phpcms v9網(wǎng)站生成sitemap靜態(tài)地圖頁面操作步驟
- 01-10phpcms2008 企業(yè)黃頁模塊偽靜態(tài)設(shè)置規(guī)則分享
- 01-10phpcms在nginx的rewrite偽靜態(tài)標(biāo)準(zhǔn)寫法
- 01-10PHPwind 偽靜態(tài)簡化URL長度為1.html,f2等的方法介紹
- 01-10PHPwind高級偽靜態(tài)規(guī)則及教程
- 01-10PHPCMS V9評論模塊偽靜態(tài)與TAG模塊偽靜態(tài)設(shè)置
- 01-10PHPCMS V9靜態(tài)化HTML生成設(shè)置及URL規(guī)則優(yōu)化
- 01-10如何設(shè)置PhpCms問吧偽靜態(tài)


閱讀排行
本欄相關(guān)
- 01-10phpcms常見問題解答
- 01-10phpcms語法規(guī)則
- 01-10PHPCMS2008 SP4 心情排行指數(shù)不顯示的解
- 01-10PHPCMS網(wǎng)站轉(zhuǎn)移空間教程
- 01-10PHPCMS系統(tǒng)自帶標(biāo)簽說明
- 01-10phpcms標(biāo)簽?zāi)0寮皩n}模板的制作
- 01-10phpcms頻道首頁調(diào)用所有一級欄目及二
- 01-10PHPcms 2008 注冊選擇模型關(guān)閉后,注冊
- 01-10為PHPCMS 2008 編輯器增加常用中文字體
- 01-10phpcms模仿QQ和MSN消息提示的效果