我把我的规则发上来吧,我这里的2.5在用着,目前还没发现有什么问题
http://bbs.lishewen.com.cn/ RewriteRule ^(.*)/userinfo-([0-9]+)\.html$ $1/userinfo.aspx?userid=$2
RewriteRule ^(.*)/showforum-([0-9]+)\.html$ $1/showforum.aspx?forumid=$2
RewriteRule ^(.*)/showtopic-([0-9]+)\.html$ $1/showtopic.aspx?topicid=$2
RewriteRule ^(.*)/showforum-([0-9]+)-([0-9]+)\.html$ $1/showforum.aspx?forumid=$2&page=$3
RewriteRule ^(.*)/showtopic-([0-9]+)-([0-9]+)\.html$ $1/showtopic.aspx?topicid=$2&page=$3
RewriteRule ^(.*)/archiver/showforum-([0-9]+)\.html$ $1/archiver/showforum.aspx?forumid=$2
RewriteRule ^(.*)/archiver/showtopic-([0-9]+)\.html$ $1/archiver/showtopic.aspx?topicid=$2
RewriteRule ^(.*)/archiver/showtopic-([0-9]+)-([0-9]+)\.html$ $1/archiver/showtopic.aspx?topicid=$2&page=$3
RewriteRule ^(.*)/archiver/showforum-([0-9]+)-([0-9]+)\.html$ $1/archiver/showforum.aspx?forumid=$2&page=$3
RewriteRule ^(.*)/tools/rss-([0-9]+)\.html$ $1/tools/rss.aspx?forumid=$2
RewriteRule ^(.*)/tools/spacerss-([0-9]+)\.html$ $1/tools/rss.aspx?uid=$2&type=space
RewriteRule ^(.*)/tools/photorss-([0-9]+)\.html$ $1/tools/rss.aspx?uid=$2&type=photo
RewriteRule ^(.*)/space\/((\w|\s)+)((\/?))?$ $1/space/index.aspx?user=$2
RewriteRule ^(.*)/space\/((\w|\s|-)+)((\/?))?\?((.*)+)$ $1/space/index.aspx?user=$2&$6
RewriteRule ^(.*)/sitemap_baidu.xml $1/tools/sitemap.aspx
RewriteRule ^(.*)/showdebate-([0-9]+)\.html$ $1/showdebate.aspx?topicid=$2
RewriteRule ^(.*)/showdebate-([0-9]+)-([0-9]+)\.html$ $1/showdebate.aspx?topicid=$2&page=$3
RewriteRule ^(.*)/topictag-([0-9]+)\.aspx$ $1/tags.aspx?tagid=$2