<% 'We use CASE ELSE to fix any other requests
'取得HTTP输入的值并付值到HTOST中
host=lcase(request.servervariables("HTTP_HOST"))
'开始条件跳转
SELECT CASE host
' 如果HOST的值是www.netbei.com就选择事件case"www.netbei.com"的命令
CASE "www.netbei.com"
' Below is the redirect command
response.redirect "index1.htm"
CASE "netbei.com"
' Below is the redirect command
response.redirect "index1.htm"
CASE "down.netbei.com"
' Below is the redirect command
response.redirect "music/"
CASE "bbs.netbei.com"
' Below is the redirect command
response.redirect "bbs/"
CASE "www.netbei.com"
' Below is the redirect command
response.redirect "code/"
CASE "netbei.com"
' Below is the redirect command
response.redirect "soft/"
CASE ELSE
response.redirect "inc/"
END SELECT
%>
