动网论坛系统模拟静态页面配置说明
- 需安装 ISAPI_Rewrite 组件,请自行到网上搜索此软件并安装于您的服务器。
- 配置 httpd.ini 文件,在该文件尾部加入以下代码:
# 重写index.asp
RewriteRule /index_(\d+)_(\d*)_(.*)_(\d*)\.html /index\.asp\?boardid=$1&topicmode=$2&list_type=$3&page=$4 [N,I]
RewriteRule /index_(\d+)_(.*)_(\d*)_(.*)_(\d*)\.html /index\.asp\?boardid=$1&action=$2&topicmode=$3&list_type=$4&page=$5 [N,I]
RewriteRule /index_(\d+)_(.*)_(\d*)_(\d*)\.html /index\.asp\?boardid=$1&action=$2&topicmode=$3&page=$4 [N,I]
RewriteRule /index_(\d+)_(\d*)_(.*)\.html /index\.asp\?boardid=$1&page=$2&action=$3 [N,I]
RewriteRule /index_(\d+)_(\d*)\.html /index\.asp\?boardid=$1&topicmode=$2 [N,I]
RewriteRule /index_(\d+)_(\d*)_\.html /index\.asp\?boardid=$1&page=$2 [N,I]
# RewriteRule /index_(\d+)__\.html /index\.asp\?boardid=$1 [N,I]
RewriteRule /index_(\d+)\.html /index\.asp\?boardid=$1 [N,I]
RewriteRule /index\.html(.*) /index.asp [N,I]
# 重写dispbbs.asp
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)_(\d*)_(\d*)\.html /dispbbs\.asp\?boardid=$1&replyid=$2&id=$3&skin=$4&page=$5&star=$6 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)_(\d*)\.html /dispbbs\.asp\?boardid=$1&replyid=$2&id=$3&skin=$4&star=$5 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_skin(\d*)\.html /dispbbs.asp\?boardID=$1&replyid=$2&ID=$3&skin=$4 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\d*)_(\d*)\.html /dispbbs.asp\?boardid=$1&id=$2&authorid=$3&page=$4&star=$5 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\d*)\.html /dispbbs.asp\?boardID=$1&ID=$2&page=$3&star=$4 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)_(\w+)\.html /dispbbs.asp\?boardID=$1&ID=$2&page=$3&move=$4 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)_(\d*)\.html /dispbbs.asp\?boardID=$1&ID=$2&page=$3 [N,I]
RewriteRule /dispbbs_(\d+)_(\d*)\.html /dispbbs.asp\?boardID=$1&ID=$2 [N,I]
# 重写dv_rss.asp
RewriteRule /dv_rss_(.*)_(\d+)_(\d+)_(\d+)_(\d+)_count(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2&id=$3&page=$4&star=$5&count=$6 [N,I]
RewriteRule /dv_rss_(.*)_(\d+)_(\d+)_(\d+)_(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2&id=$3&page=$4&star=$5 [N,I]
RewriteRule /dv_rss_(.*)_(\d+)_(\d+)_(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2&id=$3&page=$4 [N,I]
RewriteRule /dv_rss_(.*)_(\d+)_(\d+)_count(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2&page=$3&count=$4 [N,I]
RewriteRule /dv_rss_(.*)_(\d+)_(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2&page=S3 [N,I]
RewriteRule /dv_rss_(.*)_(\d+)\.html /dv_rss.asp\?s=$1&boardid=$2 [N,I]
RewriteRule /dv_rss_(.*)\.html /dv_rss.asp\?s=$1 [N,I]
RewriteRule /dv_rss(.*)\.html(.*) /dv_rss.asp [N,I]
- 修改 conn.asp 文件中的 IsUrlreWrite 参数。
动网论坛博客系统二级域名配置说明
1、如您没有独立服务器,请到 http://domain.iboker.com 申请一个免费的二级域名系统(只支持动网博客系统的二级域名)
2、独立服务器用户:
1). 绑定泛域名到您服务器IP,如您的域名为iboker.com,则绑定*.iboker.com到您的服务器IP(前面为星号)。
2). 将您博客所在网站iis服务的主机头留空,新建Default.asp文件,并把新建文件的执行优先级设定为最高(IIS设置属性中的文档,将Default.asp移到最上面)。
Default.asp文件代码:
<%
Dim iURL
iURL = Split(Request.ServerVariables("SERVER_NAME"),".")
If Lcase(iURL(0))="www" Then
'此处为网站或论坛或博客首页地址,请自行选择
Response.Redirect("index.asp")
Else
'如博客不在网站(泛域名所在网站)目录,请自行更改此处地址
Response.Write( "<frameset><frame src=""boke.asp?"&iURL(0)&".index.html""></frameset>")
End If
%>
3). 将此文件上传到网站根目录,如博客目录不在网站根目录,还需要修改Default.asp文件中的路径。
动网论坛博客系统模拟静态页面配置说明
1、需安装 ISAPI_Rewrite 组件,请自行到网上搜索此软件并安装于您的服务器。
2、配置 httpd.ini 文件,在该文件尾部加入以下代码:
RewriteRule /show_topic\.html /bokeindex\.asp\?show_topic\.html [N,I]
RewriteRule /show_topic\.(\S+)\.html /bokeindex\.asp\?show_topic\.$1\.html [N,I]
RewriteRule /show_topic\.(\d+)\.(\S+)\.html /bokeindex\.asp\?show_topic\.$1\.$2\.html [N,I]
RewriteRule /show_user\.html /bokeindex\.asp\?show_user\.html [N,I]
RewriteRule /show_user\.(\S+)\.html /bokeindex\.asp\?show_user\.$1\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.index\.html /boke\.asp\?$1\.index\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.showchannel\.(\S+)\.html /boke\.asp\?$1\.showchannel\.$2\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.showchannel\.(\d+)\.(\S+)\.html /boke\.asp\?$1\.showchannel\.$2\.$3\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.showtopic\.(\S+)\.html /boke\.asp\?$1\.showtopic\.$2\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.showtopic\.(\d+)\.(\S+)\.html /boke\.asp\?$1\.showtopic\.$2\.$3\.html [N,I]
RewriteRule /([A-Za-z0-9_-]+)\.(\w+)\.xml /bokerss\.asp\?$1\.$2\.xml [N,I]
2、修改 boke/config.asp 文件中的 Is_Isapi_Rewrite 参数。
|