0
点赞
收藏
分享

微信扫一扫

ASP:一个网站空间多个域名访问

花海书香 2022-05-16 阅读 83

ASP:一个网站空间多个域名访问_java

一个网站空间,但是却可以实现多个域名的访问的一段ASP代码:

以下为引用的内容:

<%

if Request.ServerVariables("SERVER_NAME")="www.abc.com" then

response.redirect "abc/"

else if Request.ServerVariables("SERVER_NAME")="www.123.com" then

response.redirect "123/"

else if Request.ServerVariables("SERVER_NAME")="www.456.com" then

response.redirect "456/"

end if

end if

end if

%>


举报

相关推荐

0 条评论