多域名一网站时如果返回最原来的域名

2018-09-06 11:21

阅读:484

  <%
host=lcase(request.servervariables(HTTP_HOST))
SELECTCASEhost
JustchangetheCASEtoyourdomains
CASE
Belowistheredirectcommand
response.redirectau/
response.redirectau/
response.redirectfront.asp
CASE
response.redirectwda/
CASEwebsite-design-australia.com
response.redirectwda/
WeuseCASEELSEtofixanyotherrequests
CASEELSE
response.redirectfront.asp
ENDSELECT
%>
我最近的应用
复制代码 代码如下:
<%
host=lcase(request.servervariables(HTTP_HOST))
SELECTCASEhost
CASE
response.redirectindex2.asp
response.redirectindex1.asp
CASEELSE
response.redirectindex2.asp
ENDSELECT
%>


评论


亲,登录后才可以留言!