首页 电脑 电脑学堂 查看内容

一个简单的域名自动转向源代码

2004-9-29 20:05 701 0

摘要: if Request.ServerVariables("SERVER_NAME")="www.tajh.net" thenresponse.redirect "index1.htm"elserespo...
关键词: redirect 域名 机时 index ServerVariables 定向 elseresponse thenresponse 指向 htm

if Request.ServerVariables("SERVER_NAME")="www.tajh.net" thenresponse.redirect "index1.htm"elseresponse.redirect "index2.htm"end if%>此ASP代码功能是当两个域名指向同一个主机时,可以自动重定向到相应的域名网站
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部