插件作者的标准出来了!Manyou诚邀开发者加盟!
“互联网平台开发者”特刊 有奖征集开发者
立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0 使用说明
Discuz!NT2.5正式版发布
开放源码下载
UCenter Home 1.2 正式版发布
官方站 | 帮助文档
基于ECShop的网店托管-卖否
PHP就业培训直通车 | LAMP培训大连
Discuz!收费服务内容及价格
《站长》杂志读者调查表
Discuz!/ECShop 专用官方虚拟主机
Insenz最新活动精美礼品大派送!
Comsenz 招聘信息
网店系统ECShop v2.6.0正式版火热发布
基于Discuz!的免费论坛空间5D6D
《站长》第七期:2008SNS进行时
返回列表 发新话题

Discuz5.5 Zeus URL Rewrite(Request Rewriting ) 规则

在最新发布的 Discuz!5.5 版本,截止到今天,在 Zeus 上同时开启左右分栏和静态化在切换时可能会出现 Zeus 对 URL 解析不正确,导致显示找不到该页。
解决方案,更新 Request Rewriting 中的 Rewrite Script (所谓的URL-Rewrite):

match URL into $ with ^(.*)/attachment-([0-9]+)-([0-9]+)\.html?*(.*)$
if matched then
  set URL = $1/attachpage.php?aid=$2&tid=$3&$4
endif
match URL into $ with ^(.*)/archiver/([a-z0-9\-]+\.html)?*(.*)$
if matched then
  set URL = $1/archiver/index.php?$2&$3
endif
match URL into $ with ^(.*)/forum-([0-9]+)-([0-9]+)\.html?*(.*)$
if matched then
  set URL = $1/forumdisplay.php?fid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html?*(.*)$
if matched then
  set URL = $1/viewthread.php?tid=$2&extra=page\%3D$4&page=$3&$4
endif
match URL into $ with ^(.*)/profile-(username|uid)-(.+?)\.html?*(.*)$
if matched then
  set URL = $1/viewpro.php?$2=$3&$4
match URL into $ with ^(.*)/space-(username|uid)-(.+?)\.html?*(.*)$
        if matched then
                set URL = $1/space.php?$2=$3&$4

        endif

endif
复制代码
经过测试,在 Zeus Server V4 上通过。

[ 本帖最后由 heyond 于 2007-3-27 16:00 编辑 ]
生命的意义不在于得到什么,而在于做过什么。
终于能抢个沙发了啊

好像没遇到这个问题啊
占位占位占位占位占位
不知道和以前的有什么区别
国际广告人,广告、创意者的家园
原来这样,不过没关系,不用NT的
前排占位支持!(*^__^*) 嘻嘻……
欢迎访问我的小站:www.xinxi110.cn迅速提升Alexa排名,SS使用讨论群:5688561
制作采集器(¥0.5-5),安装、转换、升级程序(面议)QQ272247465
知道了!
谢谢分享!
可惜我不用ZEUS
好东东。。
返回列表