您的位置:首页-> 资讯中心-> 网络技术-> 服务器-> 一个简单的域名自动转向源代码
→ 服务器
→ 广告专栏
来源:99软件站 发表时间:2002-12-11 【ovo.com.cn
<% if Request.ServerVariables("SERVER_NAME")="www.tajh.net" then response.redirect "index1.htm" else response.redirect "index2.htm" end if %> 此ASP代码功能是当两个域名指向同一个主机时,可以自动重定向到相应的域名网站
※相关文章:
※相关软件: