vim httpd-vhosts.conf
ServerAdmin liuyi@315zhaopin.com
DocumentRoot "/data/home/sanqihulian/777dazhong"
ServerName *.777dazhong.com
ServerAlias *.777dazhong.com
ServerAlias 777dazhong.com
ErrorLog "logs/777dazhong.com-error_log"
CustomLog "logs/777dazhong.com-access_log" common
保存退出
/etc/init.d/apachectl restart
主要是粉色那两行
阅读(2645) | 评论(0) | 转发(0) |