top
Loading...
一個簡單的域名自動轉向源代碼
<%
if Request.ServerVariables("SERVER_NAME")="www.tajh.net" then
response.redirect "index1.htm"
else
response.redirect "index2.htm"
end if
%>
此ASP代碼功能是當兩個域名指向同一個主機時,可以自動重定向到相應的域名網站
北斗有巢氏 有巢氏北斗