match URL into $ with ^(.*)-htm-(.*)$
if matched then
set URL = $1.php?$2
endif
match URL into $ with ^(.*)/simple/([a-z0-9\_]+\.html)$
if matched then
set URL = $1/simple/index.php?$2
endif
match URL into $ with ^(.*)/topic_(.*)_(.*)_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif
match URL into $ with ^(.*)/topic_(.*)_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif
match URL into $ with ^(.*)/topic_(.*).html$
if matched then
set URL = $1/read.php?tid=$2&page=$3&fpage=$4
endif
match URL into $ with ^(.*)/forum_(.*)_(.*).html$
if matched then
set URL = $1/thread.php?fid=$2&page=$3
endif
match URL into $ with ^(.*)/forum_(.*).html$
if matched then
set URL = $1/thread.php?fid=$2&page=$3
endif
怎么将以上已收录的地址重定向dz的伪静态?
DZ伪静态zeus规则
match URL into $ with ^(.*)/topic-(.+)\.html\?*(.*)$
if matched then
set URL = $1/portal.php?mod=topic&topic=$2&$3
endif
match URL into $ with ^(.*)/article-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/portal.php?mod=view&aid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/f-(\w+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=forumdisplay&fid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/t-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=viewthread&tid=$2&extra=page\%3D$4&page=$3&$5
endif
match URL into $ with ^(.*)/group-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/forum.php?mod=group&fid=$2&page=$3&$4
endif
match URL into $ with ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$
if matched then
set URL = $1/home.php?mod=space&$2=$3&$4
endif
match URL into $ with ^(.*)/blog-([0-9]+)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/home.php?mod=space&uid=$2&do=blog&id=$3&$4
endif
match URL into $ with ^(.*)/(fid|tid)-([0-9]+)\.html\?*(.*)$
if matched then
set URL = $1/index.php?action=$2&value=$3&$4
endif
规则怎么写呢?