添加虚拟主机文件后导致Apache无法启动
RHCE7考试第12题如果在/etc/httpd/conf.d 目录下添加文件名为vhost-server0.conf(具体内容如下)的配置文件后,会导致Apache无法重新启动
<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>
但是注释掉CustomLog "Logs/server0_vhost_log" combined后,就能成功重启,不知这条语句的作用是什么?
页:
[1]