<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /lifetype/# ok:Permalink to the blog entry (i.e. /lifetype/post/{blogId}/{ArticleId})RewriteRule ^post/([0-9]+)/([0-9]+)$ index.php?op=ViewArticle&blogId=$1&articleId=$2 [L,NC]# ok:Monthly archive (i.e. /lifetype/archives/{blogId}/{yyyymm})RewriteRule ^archives/([0-9]+)/([0-9]{6})$ index.php?blogId=$1&Date=$2 [L,NC]# ok:Daily archive (i.e. /lifetype/archives/{blogId}/{yyyymmdd})RewriteRule ^archives/([0-9]+)/([0-9]{8})$ index.php?blogId=$1&Date=$2 [L,NC]# ok:Album (i.e. /lifetype/album/{blogId}/{albumId})RewriteRule ^album/([0-9]+)/([0-9]+)$ index.php?op=ViewAlbum&blogId=$1&albumId=$2 [L,NC]# ok:Albums (i.e. /lifetype/album/{blogId}/0) ,用上一個規則即可#RewriteRule ^([0-9]+)_[^/]+/album/$ index.php?op=ViewAlbum&blogId=$1&albumId=0 [L,NC]# ok:Category view (i.e. /lifetype/category/{blogId}/{categoryId})RewriteRule ^category/([0-9]+)/([0-9]+)$ index.php?blogId=$1&postCategoryId=$2 [L,NC]# ok:Category-Feeds (i.e. /lifetype/rss/{blogId}/{categoryId})RewriteRule ^rss/([0-9]+)/([0-9]+)$ rss.php?blogId=$1&categoryId=$2 [L,NC]# ok:Category-Feeds with profile (i.e. /lifetype/rss/{profile}/{blogId}/{categoryId})RewriteRule ^rss/(.*)/([0-9]+)/([0-9]+)$ rss.php?blogId=$2&categoryId=$3&profile=$1 [L,NC]# ok:Feeds (i.e. /lifetype/rss/{profile}/{blogId})RewriteRule ^rss/(.*)/([0-9]+)$ rss.php?blogId=$2&profile=$1 [L,NC]# ok:Trackbacks (i.e. /lifetype/trackbacks/{blogId}/{articleId})RewriteRule ^trackbacks/([0-9]+)/([0-9]+)$ index.php?op=Trackbacks&blogId=$1&articleId=$2 [L,NC]# ok:Comment form (i.e. /lifetype/comment/{blogId}/{articleId})RewriteRule ^comment/([0-9]+)/([0-9]+)$ index.php?op=Comment&blogId=$1&articleId=$2 [L,NC]# ok:Resources (i.e. /lifetype/resource/{blogId}/{resourceId})RewriteRule ^resource/([0-9]+)/([0-9]+)$ index.php?op=ViewResource&blogId=$1&resId=$2 [L,NC]# 英文檔名ok,:中文檔名竟然可以ok:Download a resource (i.e. /lifetype/get/{blogId}/{resourceFilename})RewriteRule ^get/([0-9]+)/(.+)$ resserver.php?blogId=$1&resource=$2 [L,NC]# ok:Static Pages (i.e /lifetype/static/{blogId}/{templateFile})RewriteRule ^static/([0-9]+)/(.+)$ index.php?op=Template&blogId=$1&show=$2 [NC]# ok:A non-default blog (i.e. /lifetype/{blogId})RewriteRule ^([0-9]+)$ index.php?blogId=$1 [L,NC]</IfModule>