帮助中心 >  技术知识库 >  网站相关 >  网站运营 >  Syntax error on line of /etc/httpd/conf/httpd.conf: Could not open configuration file *.conf denied

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

2018-09-13 08:24:08 11083

 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.


提交成功!非常感谢您的反馈,我们会继续努力做到更好!

这条文档是否有帮助解决问题?

非常抱歉未能帮助到您。为了给您提供更好的服务,我们很需要您进一步的反馈信息:

在文档使用中是否遇到以下问题: