host=lcase(request.servervariables("HTTP_HOST")) ’取得HTTP输入的值并付值到HTOST中
select CASE host
CASE "www.0750120.com"
response.redirect "http://www.0750120.com/120"
CASE "0750120.com" ’
response.redirect "http://www.0750120.com/120"
CASE "www.KT35.COM" ’
response.redirect "http://www.KT35.COM/8180"
CASE "KT35.COM" ’
response.redirect "http://www.KT35.COM/8180"
CASE "www.baidufang.com" ’
response.redirect "http://www.baidufang.com/about"
CASE "baidufang.com" ’
response.redirect "http://www.baidufang.com/about"
END select
%>