首页 > 开发 > Apache > 正文

APACHE中如何在同一个IP配置两个虚拟主机

2020-02-06 18:31:30
字体:
来源:转载
供稿:网友
这是一个例子:

namevirtualhost 192.100.100.1


serveradmin [email protected]
documentroot /wwwroot
servername www.a.com
errorlog logs/a.com-error_log
customlog logs/a-access_log common



serveradmin [email protected]
documentroot /wwwroot2
servername www.b.com
errorlog logs/b.com-error_log
customlog logs/b.com-access_log common

商业源码热门下载www.html.org.cn

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表