Discuz在lighttpd里的rewrite规则
url.rewrite-once = (
"^(.*)/bbs/archiver/((fid|tid)-[w-]+.html)$" => "$1/bbs/archiver/index.php?$2",
"^(.*)/bbs/forum-([0-9]+)-([0-9]+).html$" => "$1/bbs/forumdisplay.php?fid=$2&page=$3",
"^(.*)/bbs/thread-([0-9]+)-([0-9]+)-([0-9]+).html$" => "$1/bbs/viewthread.php?tid=$2&extra=page%3D$4&page=$3",
"^(.*)/bbs/space-(username|uid)-(.+).html$" => "$1/bbs/space.php?$2=$3",
"^(.*)/bbs/tag-(.+).html$" => "$1/bbs/tag.php?name=$2"
)
这里我discuz是安装在bbs目录,安装在别的目录或者根目录的时候,相应修改就可以了。
Leave a Reply
Random Posts
Tags
Recent Comments
- 流云雨蝶 on 100 Best Classics Two
- can on 100 Best Maria Callas 卡拉丝名唱百分百
- Passioning on Lisa Ono 小野丽莎 – Dans Mon Île 左岸香颂
- tzewei on 《US Billboard 2009 Year-End Hot 100 Songs》(2009年美国公告牌流行金榜百首)
- Lord on 100 Best Encores