首页 > 学院 > 开发设计 > 正文

asp实现同网站不同目录帮定不同域名

2019-11-18 16:27:02
字体:
来源:转载
供稿:网友
<%
select case request.servervariables("http_host")
case "VeVb.com"
Server.Execute("index.html")
case "code.VeVb.com"
Server.Execute("ut/index.html")
case "font.VeVb.com"
Server.Execute("utxiazai/index.html")
case "moban.VeVb.com"
Server.Execute("ut30/index.html")
case "pages.VeVb.com"
Server.Execute("ut30xiazai/index.html")
case "sucai.VeVb.com"
Server.Execute("ut20/index.html")
case "soft.VeVb.com"
Server.Execute("xinlangutxiazai/index.html")
case else
Server.Transfer("index.html")
end select
%>
说明,把你的域名全绑定到空间ip
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表