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:
RULE_12_START:
match URL into $ with ^/supesite/html/([0-9)+)/viewnews_itemid_([0-9]+)\.html$
if not matched then goto RULE_12_END
set URL = /supersite/index.php?action_viewnews_itemid_$2
RULE_12_END: