爱者家园电脑网络ASP编程转:asp实现同网站不同目录绑定不同域名
    
 
转:asp实现同网站不同目录绑定不同域名
发起人:txiang  回复数:1  浏览数:6667  最后更新:2009/9/25 15:34:29 by theaewsZ

选择查看 发表新帖 搜索更多相关主题  帖子排序:
2007/12/13 14:16:36
txiang





角  色:注册用户
发 帖 数:31
经 验 值:62
注册时间:2007/8/6
转:asp实现同网站不同目录绑定不同域名

转:asp实现同网站不同目录绑定不同域名

<%
select case request.servervariables("http_host")
case "knowsky.com"
Server.Execute("index.html")
case "code.knowsky.com"
Server.Execute("ut/index.html")
case "font.knowsky.com"
Server.Execute("utxiazai/index.html")
case "moban.knowsky.com"
Server.Execute("ut30/index.html")
case "pages.knowsky.com"
Server.Execute("ut30xiazai/index.html")
case "sucai.knowsky.com"
Server.Execute("ut20/index.html")
case "soft.knowsky.com"
Server.Execute("xinlangutxiazai/index.html")
case else
Server.Transfer("index.html")
end select
%>
说明,把你的域名全绑定到空间IP

<!-- urlfiles -->


  • 联系我们 - sieye - 论坛存档 - 返回顶部
    Powered by BBSXP 2008 SP2 ACCESS © 1998-2024 Yuzi.Net
  • Processed in 0.05 second(s)
    Server Time 2024/5/17 18:31:38