Windows 2003 IIS6.0 PW(phpwind)偽靜態(tài)規(guī)則
[重要通告]如您遇疑難雜癥,本站支持知識(shí)付費(fèi)業(yè)務(wù),掃右邊二維碼加博主微信,可節(jié)省您寶貴時(shí)間哦!
1、先在服務(wù)器上安裝這個(gè)插件:
http://www.isapirewrite.com/download/isapi_rwl_x86_0059.msi
2、然后給IIS添加ISAPI篩選器
3、最后修改httpd.ini(在ISAPI_Rewrite安裝目錄下)
添加以下代碼:
RewriteRule ^(.*)-htm-fid-(.*)-search-(.*).html$ $1.php?fid=$2&search=$3
RewriteRule ^(.*)-htm-(.*)fid-(.*)-type-(.*).html$ $1.php?$2fid=$3&type=$4
RewriteRule ^(.*)-htm-(.*)fid-(.*)$ $1.php?$2fid=$3
RewriteRule ^(.*)-htm-(.*)tid-(.*)$ $1.php?$2tid=$3
RewriteRule ^(.*)-htm-(.*)faqjob-(.*)$ $1.php?$2faqjob=$3
RewriteRule ^(.*)-htm-(.*)cateid-(.*)$ $1.php?$2cateid=$3
RewriteRule ^(.*)-htm-H_name-(.*)-action-(.*).html$ $1.php?H_name=$2&action=$3
RewriteRule ^(.*)-htm-H_name-(.*).html$ $1.php?H_name=$2
RewriteRule ^(.*)-htm-action-show-uid-(.*).html$ $1.php?action=show&uid=$2
RewriteRule ^(.*)-htm-action-show-username-(.*).html$ $1.php?action=show&username=$2
RewriteRule ^(.*)-htm-action-(.*).html$ $1.php?action=$2RewriteRule ^(.*)/simple/([a-z0-9_]+.html)$ $1/simple/index.php?$2
RewriteRule ^(.*)-htm-action-read-mid-(.*).html$ $1.php?action=read&mid=$2
4、后臺(tái)設(shè)置就OK了
問題未解決?付費(fèi)解決問題加Q或微信 2589053300 (即Q號(hào)又微信號(hào))右上方掃一掃可加博主微信
所寫所說,是心之所感,思之所悟,行之所得;文當(dāng)無敷衍,落筆求簡潔。 以所舍,求所獲;有所依,方所成!