apache发布多个网站
时间:
阅读:129
apache发布多个网站
最佳回答
vhosts.conf文件里配置x0dx0ax0dx0ax0dx0a DocumentRoot "项目目录"x0dx0a ServerName 域名x0dx0ax0dx0a x0dx0ax0dx0ax0dx0a复制多份分别配置
最新回答共有2条回答
-
专业建网站
回复配置多个站点就是启用虚拟主机,把httpd.conf这个配置文件里面有
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
这个前面的#号取消掉,然后每一个站点放在httpd-vhosts.conf这里面就可以了。