您现在的位置: 网页吧 > 技术文档 > 网络编程 > ASP专区 > 正文
  • 站内搜索:

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

[作者:未知 | 点击数: | 时间:2007-10-23]【
 <%
select case request.servervariables("http_host")
case "wangyeba.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.wangyeba.com"
Server.Execute("ut30/index.html")
case "pages.wangyeba.com"
Server.Execute("ut30xiazai/index.html")
case "sucai.wangyeba.com"
Server.Execute("ut20/index.html")
case "soft.wangyeba.com"
Server.Execute("xinlangutxiazai/index.html")
case else
Server.Transfer("index.html")
end select
%>
说明,把你的域名全绑定到空间IP
asp实现同网站不同目录帮定不同域名网友评论
发表评论
  • 姓 名 :* (必填项)
  • E-mail: QQ:
  • 评 分 : 1分 2分 3分 4分 5分
  • 评论内容:
·请遵守《互联网电子公告服务管理规定》及中华人民共和国其他各项有关法律法规。
·用户发表意见仅代表其个人意见,并且承担一切因发表内容引起的纠纷和责任。
·本站管理人员有权在不通知用户的情况下删除不符合规定的评论信息或留做证据。
·请客观的评价您所看到的资讯,提倡就事论事,杜绝漫骂和人身攻击等不文明行为。
网页吧·中国站长第一门户