赞助广告 赞助广告
  当前位置:网络学院网站建设策划推广 → 多域名一网站时如果返回最原来的域名
多域名一网站时如果返回最原来的域名
日期:2001年7月8日 作者:不详 人气: 查看:[大字体 中字体 小字体]
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
' Just change the CASE to your domains
CASE "www.designbliss.com.au"
' Below is the redirect command
response.redirect "au/"
CASE "designbliss.com.au"
response.redirect "au/"
CASE "e.free-bliss.com"
response.redirect "front.asp"
CASE "www.website-design-australia.com"
response.redirect "wda/"
CASE "website-design-australia.com"
response.redirect "wda/"
'We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "front.asp"
END SELECT
%>

(出处:不详 )

相关文章:
 
相关软件:
 
  特别推荐
  热点TOP10