东台弶港旅游:求域名覆盖转向代码!!!

来源:百度文库 编辑:高校问答 时间:2024/05/14 19:25:27
求域名自动转向代码!!!现成附在回贴里的!谢谢

if Request.ServerVariables("SERVER_NAME")="www.tajh.net" thenresponse.redirect "index1.htm"elseresponse.redirect "index2.htm"end if%>此ASP代码功能是当两个域名指向同一个主机时,可以自动重定向到相应的域名网站