多域名一网站时如果返回最原来的域名
更新时间:2006年12月06日 00:00:00 作者:
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
Just change the CASE to your domains
CASE "www.designbliss.com.au"
Below is the redirect command
response.redirect "au/"
CASE "designbliss.com.au"
response.redirect "au/"
CASE "e.free-bliss.com"
response.redirect "front.asp"
CASE "www.website-design-australia.com"
response.redirect "wda/"
CASE "website-design-australia.com"
response.redirect "wda/"
We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "front.asp"
END SELECT
%>
我最近的应用
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.huaihaiw.com"
response.redirect "index2.asp"
CASE "xx.huaihai.tv"
response.redirect "index1.asp"
CASE ELSE
response.redirect "index2.asp"
END SELECT
%>
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
Just change the CASE to your domains
CASE "www.designbliss.com.au"
Below is the redirect command
response.redirect "au/"
CASE "designbliss.com.au"
response.redirect "au/"
CASE "e.free-bliss.com"
response.redirect "front.asp"
CASE "www.website-design-australia.com"
response.redirect "wda/"
CASE "website-design-australia.com"
response.redirect "wda/"
We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "front.asp"
END SELECT
%>
我最近的应用
复制代码 代码如下:
<%
host=lcase(request.servervariables("HTTP_HOST"))
SELECT CASE host
CASE "www.huaihaiw.com"
response.redirect "index2.asp"
CASE "xx.huaihai.tv"
response.redirect "index1.asp"
CASE ELSE
response.redirect "index2.asp"
END SELECT
%>
相关文章
ASP中只有UrlEncode,没有Urldecode问题的解决方法?
这篇文章主要介绍了ASP中只有UrlEncode,没有Urldecode问题的解决方法? ,需要的朋友可以参考下2015-05-05.Net core 的热插拔机制的深入探索及卸载问题求救指南
这篇文章主要介绍了.Net core 的热插拔机制的深入探索及卸载问题求救指南,本文给大家啊介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友可以参考下2020-11-11SQL查询语句通配符与ACCESS模糊查询like的解决方法
我今天在写个页面的时候,也很郁闷,表中明明有记录,但在ASP里就是搜索不到,原来是因为access与SQL的查询语句通配符问题不同所引起的。2011-02-02P3P 和 跨域 (cross-domain) cookie 访问(读取和设置)
在IE 里面跨域去设置 cookie跨域的实现,尝试了n中方法都不行,查了一下资料,可以通过设置header中的p3p值来实现,真不错:)2009-06-06asp飞飞无限级分类v1.0 Asp+sql+存储过程+ajax提供下载
飞飞Asp乐园Asp Sql存储过程版无限级分类 开发说明: 本程序基于Asp环境开发 使用的数据库:SQLServer2000(存储过程) js框架:Jquery/ajax 数据库名称:archives2008-03-03
最新评论