天骄老祖 发表于 2015-12-16 22:58

添加虚拟主机配置文件后,导致apache重启失败

在/etc/httpd/conf.d 下添加配置文件vhost-server0.conf 的内容为:

<VirtualHost*:80>
ServerName server0.example.com
DocumentRoot "/var/www/html"
CustomLog "Logs/server0_vhost_log" combined
<Directory "/var/www/html">
<RequireAll>
Require all granted
Require not host .my133t.org
</RequireAll>
</Directory>
</VirtualHost>


保存退出后,Apache无法重启,但是注释掉CustomLog "Logs/server0_vhost_log" combined后,就可以重启成功,不知道为什么?
页: [1]
查看完整版本: 添加虚拟主机配置文件后,导致apache重启失败