asp实现同网站不同目录绑定不同域名
<%
select case request.servervariables("http_host")
case "wkiyo.cn"
Server.Execute("index.html")
case "code.wkiyo.cn"
Server.Execute("ut/index.html")
case "font.wkiyo.cn"
Server.Execute("utxiazai/index.html")
case "moban.wkiyo.cn"
Server.Execute("ut30/index.html")
case "pages.wkiyo.cn"
Server.Execute("ut30xiazai/index.html")
case "sucai.wkiyo.cn"
Server.Execute("ut20/index.html")
case "soft.wkiyo.cn"
Server.Execute("xinlangutxiazai/index.html")
case else
Server.Transfer("index.html")
end select
%>版权声明:
作者:Kiyo
链接:https://www.wkiyo.cn/html/2008-01/i530.html
来源:Kiyo's space
文章版权归作者所有,未经允许请勿转载。
THE END
二维码

共有 0 条评论