ASP實現根據受訪域名轉向到不同頁面
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.abc.com"
response.redirect "http://www.abc.com/1.html"
CASE "www.123.com"
response.redirect "http://www.abc.com/2.html"
CASE ELSE
response.redirect "http://www.abc.com/3.html"
END SELECT
%>