首頁 >後端開發 >php教程 >APACHE中如何在同一个IP配置两个虚拟主机_PHP教程

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB原創
2016-07-13 17:12:12819瀏覽

这是一个例子:
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

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/629513.htmlTechArticle这是一个例子: 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...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn