+ -
当前位置:首页 → 问答吧 → 如何绑定多域名到目录

如何绑定多域名到目录

时间:2008-07-03

来源:互联网

在同一空间复制了几个站点,RT..

作者: hedgelog   发布时间: 2008-07-02

引用:
原帖由 hedgelog 于 2008-7-2 19:42 发表
在同一空间复制了几个站点,RT..
<VirtualHost *:80>
ServerName xxxx.com
ServerAlias www.xxxx.com
ServerAlias www.yyy.com
ServerAlias www.xyxyxy.com
ServerAlias www.yxyxyx.com
ServerAdmin [email protected]
DocumentRoot /www/path_to/
<Directory /www/path_to/>
  Options Includes FollowSymLinks
  AllowOverride FileInfo
</Directory>
</VirtualHost>

作者: hhyisw   发布时间: 2008-07-12

2楼正解,弄虚拟主机

作者: anyforever   发布时间: 2008-07-25

不得不佩服!在下大力支持,也顶一个。我喜欢您的这篇文章,另外,可以和您交换链接吗?

---------------------------------------------------------------------------------------------------------------------------------------------

北京海融天宇提供dell服务器免费提供cisco交换机及人员操作培训,ibm服务器和cisco路由器提供google排名

作者: 窈窕美女   发布时间: 2008-08-05

NameVirtualHost *

<virtualhost *>
        ServerName www.walkerwind.com.cn
        DocumentRoot "c:/wamp/www/blog/"
</virtualhost>

<virtualhost *>
        ServerName www.1stonline.com.cn
        DocumentRoot "c:/wamp/www/"
</virtualhost>

<virtualhost *>
        ServerName bbs.1stonline.com.cn
        DocumentRoot "c:/wamp/www/bbs/"
</virtualhost>

作者: walkerwind   发布时间: 2008-08-05

热门下载

更多