|
|
| 更新时间:2008-11-24 11:14:56 作者:网页教学… 点击: http://www.bjicafe.com |
| 一个网站空间,但是却可以实现多个域名的访问的一段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 %> |
责任编辑:lz |
文字版权均规原作者所有。传统媒体未经本网许可不得转载本文。网络媒体转载本文,请保留作者姓名,注明文章出处和本站网址,否则亦不得转载。如有违规,本网将保留追究法律责任的权利。 |
|