Syntax error on line of /etc/httpd/conf/httpd.conf: Could not open configuration file *.conf denied

 centos 配置apache 报错如下:

httpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf.d/vhost/ad.conf: ...ssion denied

解决方法:$ chcon -t httpd_config_t httpd.conf.


已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页