IT貓撲網(wǎng):您身邊最放心的安全下載站! 最新更新|軟件分類|軟件專題|手機版|論壇轉(zhuǎn)貼|軟件發(fā)布

您當前所在位置:首頁網(wǎng)絡(luò)編程Asp編程 → ASP:一個網(wǎng)站空間多個域名訪問

ASP:一個網(wǎng)站空間多個域名訪問

時間:2015/6/28來源:IT貓撲網(wǎng)作者:網(wǎng)管聯(lián)盟我要評論(0)

一個網(wǎng)站空間,但是卻可以實現(xiàn)多個域名的訪問的一段ASP代碼:

以下為引用的內(nèi)容:
<%
if Request.ServerVariables("SERVER_NAME")="europeautoinsurance.com" then
response.redirect "itmop/"
else if Request.ServerVariables("SERVER_NAME")="www.027safe.com" then
response.redirect "027safe/"
else if Request.ServerVariables("SERVER_NAME")="www.hao251.com" then
response.redirect "hao251/"
end if
end if
end if
%>

關(guān)鍵詞標簽:域名,訪問,多個,一個,

相關(guān)閱讀

文章評論
發(fā)表評論

熱門文章 Active Server Pages 錯誤 'ASP 0131'解決方Active Server Pages 錯誤 'ASP 0131'解決方

相關(guān)下載

人氣排行 ASP下標越界的解決方法ASP代碼中如何屏蔽ip地址 禁止某IP段訪問網(wǎng)站“文件共享鎖定數(shù)溢出” 原因及解決方法無法寫入數(shù)據(jù)庫的解決方法如何用ASP來獲取客戶端真實IP的地址用Asp編程實現(xiàn)QQ的在線情況查詢ASP常用函數(shù)列表ASP用FSO生成HTML簡單實例+詳解[原創(chuàng)]