# BEGIN ThinkSAAS
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /

RewriteRule ^group-([0-9]+)\.html$		index.php?app=group&ac=group&groupid=$1 [QSA,L]
RewriteRule ^topic-([0-9]+)\.html$		index.php?app=group&ac=topic&topicid=$1 [QSA,L]
RewriteRule ^cate-([0-9]+)\.html$		index.php?app=group&ac=cate&cateid=$1 [QSA,L]
RewriteRule ^topic-([0-9]+)-([0-9]*)\.html$		index.php?app=group&ac=topic&topicid=$1&page=$2 [QSA,L]
RewriteRule ^rss-([0-9]+)\.html$		index.php?app=group&ac=rss&groupid=$1 [QSA,L]

RewriteRule ^g-user-([0-9]+)\.html$		index.php?app=group&ac=group_user&groupid=$1 [QSA,L]
RewriteRule ^g-user-([0-9]+)-([0-9]*)\.html$ 	index.php?app=group&ac=group_user&groupid=$1&page=$2 [L]

RewriteRule ^g-topic-([0-9]+)\.html$		index.php?app=group&ac=group_topic&groupid=$1 [QSA,L]
RewriteRule ^g-topic-([0-9]+)-([0-9]*)\.html$ 	index.php?app=group&ac=group_topic&groupid=$1&page=$2 [L]

RewriteRule ^u-([0-9]+)\.html$		index.php?app=user&ac=space&userid=$1 [QSA,L]

ErrorDocument 404 http://www.thinksaas.cn

</IfModule>

# END ThinkSAAS