Windows 2003 IIS6.0 PW(phpwind)伪静态规则
[重要通告]如您遇疑难杂症,本站支持知识付费业务,扫右边二维码加博主微信,可节省您宝贵时间哦!
1、先在服务器上安装这个插件:
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、后台设置就OK了
问题未解决?付费解决问题加Q或微信 2589053300 (即Q号又微信号)右上方扫一扫可加博主微信
所写所说,是心之所感,思之所悟,行之所得;文当无敷衍,落笔求简洁。 以所舍,求所获;有所依,方所成!