| 多域名解释到同一空间但不同目录的实现方法 |
|
|
作者:未知 文章来源:网络转载 点击数:
更新时间:2004-9-15  |
|
| |
|
<% '取得HTTP输入的值并付值到HTOST中 host=lcase(request.servervariables("HTTP_HOST")) '开始条件跳转 SELECT CASE host ' 如果HOST的值是www.netbei.com就选择事件case"www.netbei.com"的命令 CASE "www.netbei.com" ' Below is the redirect command response.redirect "index1.htm" CASE "netbei.com" ' Below is the redirect command response.redirect "index1.htm" CASE "down.netbei.com" ' Below is the redirect command response.redirect "music/" CASE "bbs.netbei.com" ' Below is the redirect command response.redirect "bbs/" CASE "www.netbei.com" ' Below is the redirect command response.redirect "code/" CASE "netbei.com" ' Below is the redirect command response.redirect "soft/"
'We use CASE ELSE to fix any other requests CASE ELSE response.redirect "inc/" END SELECT %>
|
| 文章录入:admin 责任编辑:admin
|
|
上一篇文章: 实例演示:使用ASP生成HTML文件
下一篇文章: UTF-8转GB2312函数 |
| 【字体:小
大】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】
|