用不同的域名访问同一个空间上面不同的网站
来源:互联网 发布:linux基础知识什么书 编辑:程序博客网 时间:2024/05/21 20:15
<%
'取得HTTP输入的值并付值到HTOST中
host=lcase(request.servervariables("HTTP_HOST"))
'开始条件跳转
SELECT CASE host
' 如果HOST的值www.abc0.com就选择事件case"www.abc0.com"的命令
CASE "www.abc0.com"
' Below is the redirect command
response.redirect "index_abc0.asp"
CASE "www.abc1.com"
' Below is the redirect command
response.redirect "index_abc1.asp"
CASE "www.abc2.com"
' Below is the redirect command
response.redirect "index_abc2.asp"
' 继续添加...
CASE "www.abcn.com"
' Below is the redirect command
response.redirect "index_abcn.asp"
'We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "default.asp"
END SELECT
%>
'取得HTTP输入的值并付值到HTOST中
host=lcase(request.servervariables("HTTP_HOST"))
'开始条件跳转
SELECT CASE host
' 如果HOST的值www.abc0.com就选择事件case"www.abc0.com"的命令
CASE "www.abc0.com"
' Below is the redirect command
response.redirect "index_abc0.asp"
CASE "www.abc1.com"
' Below is the redirect command
response.redirect "index_abc1.asp"
CASE "www.abc2.com"
' Below is the redirect command
response.redirect "index_abc2.asp"
' 继续添加...
CASE "www.abcn.com"
' Below is the redirect command
response.redirect "index_abcn.asp"
'We use CASE ELSE to fix any other requests
CASE ELSE
response.redirect "default.asp"
END SELECT
%>
- 用不同的域名访问同一个空间上面不同的网站
- 用不同的域名访问同一个空间上面不同的网站
- 同一个tomcat,不同域名访问不同的项目
- 一个ip,2个域名想用不同的域名访问不同网站,如何配置APACHE?
- tomcat 配置多域名访问访问同一个网站的相同或者不同项目的全站SSL证书
- 在万网中用js实现二个域名用一个空间访问二个不同内容的网站
- 不同的域名指向同一个主机上的不同项目
- 同一个网站空间,不同域名跳转到不同的路径
- nginx禁止ip访问, 禁止绑定同一个ip的不同域名访问
- 同一个tomcat下部署多个项目,使用不同的域名访问
- flex访问同一个webService的不同方法
- Apache Tomcat配置虚拟主机的方法(不同域名绑定同一IP访问不同网站)
- ASP空间设置不同域名到不同目录的方法
- linux部署项目,不同的域名访问不同的项目
- 同一个%的不同答案
- 判断域名及不同的网站地址
- Nginx学习---用不同域名访问同一台机器的不同项目
- Nginx学习---用不同域名访问同一台机器的不同项目
- 用电动剃须刀修整衣服
- 诗文
- uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(18):_sdata
- FXG1.0公开规范中文简介(二)
- 获得成功人生的十句“良言佳句"(英文)
- 用不同的域名访问同一个空间上面不同的网站
- FXG1.0公开规范中文简介(三)
- 多个虚拟主机的配置问题
- 十句良言
- 圆角边框
- SQL Convert的用法
- Sql server中 DateAdd、DateDiff用法
- AE中图层刷新
- How To Find Your Ubuntu or Kernel Version