하나 더 도메인 이름이 같은 공간에 묶여 있습니다.
코드 사본은 다음과 같습니다.
<%
checkdomain
서브 체크 도메인 ()
Dimsdomain
sdomain = request.servervariables ( "http_host")
ifinstr (sdomain, "a.xxx.com")> 0thenresponse.redirect "a/"
Endsub
%>
두 개의 도메인 이름이 같은 공간에 묶여 있습니다.
코드 사본은 다음과 같습니다.
<%
checkdomain
서브 체크 도메인 ()
Dimsdomain
sdomain = request.servervariables ( "http_host")
ifinstr (sdomain, "a.xxx.com")> 0then
Response.Redirect "A/"
elseifinstr (sdomain, "b.xxx.com")> 0then
Response.Redirect "B/"
endif
Endsub
%>
3 개의 도메인 이름이 같은 공간에 묶여 있습니다.
코드 사본은 다음과 같습니다.
<%
checkdomain
서브 체크 도메인 ()
Dimsdomain
sdomain = request.servervariables ( "http_host")
ifinstr (sdomain, "a.xxx.com")> 0then
Response.Redirect "A/"
elseifinstr (sdomain, "b.xxx.com")> 0then
Response.Redirect "B/"
elseifinstr (sdomain, "c.xxx.com")> 0then
Response.Redirect "C/"
endif
Endsub
%>