全球主机交流论坛

标题: Ngnix pw伪静态 [打印本页]

作者: 116313732    时间: 2010-4-1 13:02
提示: 作者被禁止或删除 内容自动屏蔽
作者: 杨过过    时间: 2010-4-1 13:10
location / {
####以下为PHPWind 伪静态化rewrite规则
rewrite ^(.*)-htm-(.*)$ $1.php?$2 last;
rewrite ^(.*)/simple/([a-z0-9\_]+\.html)$ $1/simple/index.php?$2 last;
}
作者: eudx    时间: 2010-4-1 13:13
我用的DZ  哎 PW 是不是好一些啊 可惜现在数据太大不想转换了
作者: cpuer    时间: 2010-4-1 15:43
标题: 回复 2# 的帖子
这么简单? 试验过了否
作者: woshigaozhen    时间: 2010-4-1 15:57
原帖由 cpuer 于 2010-4-1 15:43 发表
这么简单? 试验过了否

作者: 杨过过    时间: 2010-4-1 16:14
没人加分
作者: iamfly    时间: 2010-4-1 16:17
标题: 回复 6# 的帖子
可怜的娃,我来给加分吧
作者: phpwinder    时间: 2010-4-1 16:23
等楼主试了,我用apache,直接用.htaccess。




欢迎光临 全球主机交流论坛 (https://sunk.eu.org/) Powered by Discuz! X3.4