国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > ASP > 正文

多域名一網站時如果返回最原來的域名

2020-07-27 13:21:20
字體:
來源:轉載
供稿:網友
<% 
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 
%>
我最近的應用
復制代碼 代碼如下:

<% 
host=lcase(request.servervariables("HTTP_HOST")) 
SELECT CASE host 
CASE "www.huaihaiw.com" 
response.redirect "index2.asp" 
CASE "xx.huaihai.tv" 
response.redirect "index1.asp" 
CASE ELSE 
response.redirect "index2.asp" 
END SELECT 
%> 
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 凌海市| 内黄县| 开化县| 北流市| 定西市| 蓬莱市| 凤城市| 孟州市| 大丰市| 赫章县| 根河市| 诸暨市| 莲花县| 金华市| 林口县| 微山县| 大连市| 丰宁| 桐梓县| 木里| 新化县| 阿尔山市| 绥阳县| 银川市| 孙吴县| 沙洋县| 乐东| 东乌珠穆沁旗| 永平县| 固安县| 平陆县| 沾化县| 湘潭市| 政和县| 玉田县| 永福县| 仁布县| 任丘市| 太湖县| 天门市| 巴中市|