在INDEX.ASP页面写入
<%
from=lcase(Request.ServerVariables("HTTP_HOST"))
if left(from,4)="www." then
Response.redirect("index.asp") '此处为网站首页地址
elseif left(from,4)="bbs." then
Response.redirect("")
elseif left(from,4)="code" then
Response.redirect("")
elseif left(from,4)="movi" then
Response.redirect("")
else
Response.redirect("index.asp")
end if
%>
阅读(421) | 评论(0) | 转发(0) |