插件作者的标准出来了!Manyou诚邀开发者加盟!
《站长》&《程序员》杂志火热征集开发者
立即免费下载 Discuz!6.1.0正式版
Discuz! 6.1.0 使用说明
Discuz!NT2.5正式版发布
开放源码下载
UCenter Home 1.2 正式版发布
官方站 | 帮助文档
基于ECShop的网店托管-卖否
PHP就业培训直通车 | LAMP培训大连
Discuz!收费服务内容及价格
论坛免费升级 手握手
Discuz!/ECShop 专用官方虚拟主机
【九城-奇迹世界】专题活动开始了!
Comsenz 招聘信息
网店系统ECShop v2.6.0正式版火热发布
基于Discuz!的免费论坛空间5D6D
参与有奖社区调查 赢取台湾5日游
发新话题
打印

X-Space在Zeus下的Rewrite规则(SupeSite V5)

X-Space在Zeus下的Rewrite规则(SupeSite V5)

此规则针对Zeus V4.X,且仅针对独立主机

修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /
复制内容到剪贴板
代码:
RULE_0_START:
match URL into $ with ^/supesite/([0-9]+)/spacelist(.*)$
if not matched then goto RULE_0_END
set URL = /supesite/index.php?$1/action_spacelist$2
RULE_0_END:

RULE_1_START:
match URL into $ with ^/supesite/([0-9]+)/viewspace(.+)$
if not matched then goto RULE_1_END
set URL = /supesite/index.php?$1/action_viewspace_itemid$2
RULE_1_END:

RULE_2_START:
match URL into $ with ^/supesite/([0-9]+)/viewbbs(.+)$
if not matched then goto RULE_2_END
set URL = /supesite/index.php?$1/action_viewbbs_tid$2
RULE_2_END:

RULE_3_START:
match URL into $ with ^/supesite/([0-9]+)/(.*)$
if not matched then goto RULE_3_END
set URL = /supesite/index.php?$1/$2
RULE_3_END:

RULE_4_START:
match URL into $ with ^/supesite/([0-9]+)$
if not matched then goto RULE_4_END
set URL = /supesite/index.php?$1
RULE_4_END:

RULE_5_START:
match URL into $ with ^/supesite/action(.+)$
if not matched then goto RULE_5_END
set URL = /supesite/index.php?action$1
RULE_5_END:

RULE_6_START:
match URL into $ with ^/supesite/([0-9]+)(.*)$
if not matched then goto RULE_6_END
set URL = /supesite/index.php?action/space/uid/$1$2
RULE_6_END:

RULE_7_START:
match URL into $ with ^/supesite/category(.+)$
if not matched then goto RULE_7_END
set URL = /supesite/index.php?action_category_catid$1
RULE_7_END:

RULE_8_START:
match URL into $ with ^/supesite/itemlist(.+)$
if not matched then goto RULE_8_END
set URL = /supesite/index.php?action_itemlist_catid$1
RULE_8_END:

RULE_9_START:
match URL into $ with ^/supesite/viewnews(.+)$
if not matched then goto RULE_9_END
set URL = /supesite/index.php?action_viewnews_itemid$1
RULE_9_END:

RULE_10_START:
match URL into $ with ^/supesite/viewthread(.+)$
if not matched then goto RULE_10_END
set URL = /supesite/index.php?action_viewthread_tid$1
RULE_10_END:

RULE_11_START:
match URL into $ with ^/supesite/index([\.a-zA-Z0-9]*)$
if not matched then goto RULE_11_END
set URL = /supesite/index.php
RULE_11_END:
[ 本帖最后由 黑莲花 于 2006-6-19 16:18 编辑 ]
这个....我提个小小的建议,不知道是我理解问题还是原文描述不当:
引用:
修改以下语句中的 /supesite 修改为你的SupeSite目录地址,如果程序放在根目录中,请将 /supesite 修改为 /
修改为supesite目录地址,比如我的linux主机的xspace安装地址是/data/web/space。其实这里如果我把/supesite修改为/data/web/space,这个rewrite规则根本没用。应该修改为/才对。

不知道是我的个体现象还是很多人都这样。
个人签名 (300 字节以内)
不支持自定义 Discuz! 代码

Discuz!代码可用
[img] 代码 可用

预览
# Ultimate SEO URLs BEGIN
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
# Ultimate SEO URLs END

楼主,能否帮我把这个apache的规则转成Zeus V4的啊?先跪谢了   急用啊!
oh yeah!
这个好象不对啊  地址有误.?
webb
网页设计师请加 QQ群 : 12923551
按 论坛里给出的如下 设置   设置了ZEUS 后可


首页 资讯 日志 图片 商品 文件 书签 论坛 程序下载 搜索

这些地址的连接还是无法实现官方这样的地址。
http://x.discuz.net/action_blog.html


只能出http://www.xdiscuz.com/?action_blog  
出带问号的地址



科技世界 互联网络 财经报道 体育资讯 明星娱乐 生活资讯 网站建设 动态报道 特别关注
这些地址都可以 category_1.html 了


请问规则还应该设置什么吗还是??
webb
发新话题
版块跳转