APACHE中如何在同一个IP配置两个虚拟主机
发布时间:2016-10-27 编辑:jiaochengji.com
教程集为您提供APACHE中如何在同一个IP配置两个虚拟主机等资源,欢迎您收藏本站,我们将为您提供最新的APACHE中如何在同一个IP配置两个虚拟主机资源
这是一个例子:
NameVirtualHost 192.100.100.1
ServerAdmin njzadmin@sina.com
DocumentRoot /wwwroot
ServerName www.a.com
ErrorLog logs/a.com-error_log
Customlog logs/a-access_log common
ServerAdmin sonymusic@china.com
DocumentRoot /wwwroot2
ServerName www.b.com
ErrorLog logs/b.com-error_log
CustomLog logs/b.com-access_log common
NameVirtualHost 192.100.100.1
ServerAdmin njzadmin@sina.com
DocumentRoot /wwwroot
ServerName www.a.com
ErrorLog logs/a.com-error_log
Customlog logs/a-access_log common
ServerAdmin sonymusic@china.com
DocumentRoot /wwwroot2
ServerName www.b.com
ErrorLog logs/b.com-error_log
CustomLog logs/b.com-access_log common
您可能感兴趣的文章:
用Apache实现虚拟主机服务
APACHE中如何在同一个IP配置两个虚拟主机
php中在虚拟机环境下使用xdebug注意事项
ubuntu下配置php服务器环境
Mac配置虚拟主机详细过程
php_admin_value(php_admin_flag)和php_value(php
用PHP编程开发“虚拟域名”系统
php中$_SERVER[PATH_INFO]变量使用详解
qemu是用python写的吗
在tp5框架中该如何部署二级域名
上一篇:php无限级创建目录几个函数
下一篇:php模仿用户访问网页程序代码
[关闭]