<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
Just change the CASE to your domains
CASE "dedecms.cmsjz.org"
Below is the redirect command
response.redirect "au/"
CASE "sdcms.cmsjz.org"
response.redirect "au/"
CASE "discuz.cmsjz.org"
response.redirect "front.asp"
CASE "www.cmsjz.org"
response.redirect "wda/"
CASE "duxcms.cmsjz.org"
response.redirect "wda/"
We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "front.asp"
END SELECT
%>
我最近的应用
代码如下:
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.cmsjz.org"
response.redirect "index2.asp"
CASE "xx.huaihai.tv"
response.redirect "index1.asp"
CASE ELSE
response.redirect "index2.asp"
END SELECT
%>
11
22
33