此规则针对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 编辑 ]