一个简单的域名自动转向源代码
发布日期:[07-06-22 15:10:27] 点击次数:[]

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

【热点新闻】
网站首页 | 走进本站| 在线咨询 | 友情链接 | 联系我们
地址:中国福建莆田
邮编:351100
QQ:412322148
邮箱:
Copyright © ptfz.com All rights reserved.
章林 版权所有
法律顾问:郑潮平律师 QQ:85688831