首页 » 默认不分类 » 虚拟主机上开多个网站的方法

虚拟主机上开多个网站的方法

host=lcase(request.servervariables("HTTP_HOST"))  
Select CASE host
CASE "bbs.suntw.com" '如果输入的是这个网址就跳到bbs目录
  response.redirect "/bbs/"
CASE ".................."
  response.redirect "/..../"
CASE ELSE
  response.redirect "/main/"
END Select

, , ,

转发到新浪微博 转发到新浪微博

目前这篇文章有3条评论(Rss)

  1. http://www.gpsmoto.org/ | #1
    05/16/2012 at 10:35

    Very nice design and style and fantastic articles , very little else we want : D.

  2. alberghi a valmontone | #2
    05/16/2012 at 11:34

    hi!,I love your writing so so much! share we communicate more about your article on AOL? I need a specialist on this space to resolve my problem. Maybe that’s you! Looking ahead to look you.

  3. zinc | #3
    05/16/2012 at 16:18

    Another very entertaining post. Ive been reading through some of your posts and finally decided to drop a comment on this one. Please feel free to visit my site Doppler

我要评论