''''假定其中一个网站的域名为www.domainname1.com
''''假定bbs为论坛目录
''''假定blog为博客目录
''''假定用http://www.domainname1.com//blog/index.asp?username=***来访问个人博客
''''对其他域名,写法和如下类似
if strUrl2="domainname1" and arrcount=2 then ''''''''''''''''''''''''''''''''(*.domainname1.com形式)
IF strURL1="bbs" Then
Response.Redirect("http://www.domainname1.com/bbs")
ElseIf strURL1="blog" Then
Response.Redirect("http://www.domainname1.com/bbs/blog/index.asp")
ElseIf strURL1="www" Then
''''Response.Redirect(www.domainname1.com) iis会自行识别
Else
Response.Redirect("http://www.domainname1.com//blog/index.asp?username="&strURL1)
End If
''''假定还有一个网站http://www.domainname2.com
if strUrl2="domainname2" and arrcount=2 then ''''''''''''''''domainname2.com形式)
IF strURL1="bbs" Then
Response.Redirect("http://www.domainname2.com/bbs")
ElseIf strURL1="blog" Then
Response.Redirect("http://www.domainname2.com/bbs/blog/index.asp")
ElseIf strURL1="www" Then
''''Response.Redirect(www.domainname2.com) iis会自行识别
Else
Response.Redirect("http://www.domainname2.com//blog/index.asp?username="&strURL1)
End If