[ 2007/07/27 15:40 | by 孤城浪子 ]
|
如果原来有加载ISAPI_Rewrite,只需要在 httpd.ini 的最后面加上##Bo-Blog-----------------------------之间这些就可以了
下载文件
[ISAPI_Rewrite]
CacheClockRate 3600
RepeatLimit 32
#Bo-Blog 2.1.1 Release ISAPI_Rewrite
RewriteRule /post/([0-9]+)/?([0-9]+)?/?([0-9]+)?/ /read.php\?entryid=$1&page=$2&part=$3
RewriteRule /page/([0-9]+)/([0-9]+)/ /index.php\?mode=$1&page=$2
RewriteRule /starred/([0-9]+)/?([0-9]+)?/ /star.php\?mode=$1&page=$2
RewriteRule /category/([^/]+)/?([0-9]+)?/?([0-9]+)?/ /index.php\?go=category_$1&mode=$2&page=$3
RewriteRule /archiver/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/ /index.php\?go=archive&cm=$1&cy=$2&mode=$3&page=$4
RewriteRule /date/([0-9]+)/([0-9]+)/([0-9]+)/?([0-9]+)?/?([0-9]+)?/ /index.php\?go=showday_$1-$2-$3&mode=$4&page=$5
RewriteRule /user/([0-9]+)/ /view.php\?go=user_$1
RewriteRule /tags/([^/]+)/?([0-9]+)?/?([0-9]+)?/ /tag.php\?tag=$1&mode=$2&page=$3
RewriteRule /component/id/([0-9]+)/ /page.php\?pageid=$1
RewriteRule /component/([^/]+)/ /page.php\?pagealias=$1
#Customized URL
RewriteRule /([^/|.]*)/?([0-9]+)?/?([0-9]+)?/ /read.php\?blogalias=$1&page=$2&part=$3