ASP:1个网站空间多个域名访问
核心提示:1个网站空间,但是却可以实现多个域名的访问的1段ASP代码...
1个网站空间,但是却可以实现多个域名的访问的1段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 %> |
TAG:域名,内容,代码,网站空间
评论加载中...
|
下一篇: 解决杀毒软件误删asp文件的方法