[不指定 2007/07/27 15:40 | by 孤城浪子 ]
| |
首先在 IIS 的 Isapi 上添加这个筛选器,筛选器名称为 Rewrite ,可执行文件选择 Rewrite.dll ,重新启动 IIS。附件中 httpd.ini 已经设置好,适合Bo-Blog 2.0.3!

如果原来有加载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
网络 | 评论(0) | 引用(0) | 阅读(3049)
 
发表评论
   
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]