[root@Cent0S-03 admin]# /usr/local//apache2/bin/apachectl restart
AH00112: Warning: DocumentRoot [/usr/local/apache2/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/local/apache2/docs/dummy-host2.example.com] does not exist
问题原因:
Apache在配置时会在配置文件中(httpd.conf)不小心开启虚拟主机的配置文件;
将“ #Include /etc/httpd/extra/httpd-vhosts.conf ”前面的“#”加上;
Apache AH00526错误:
AH00526: Syntax error on line 106 of /usr/local/apache2/etc--with-included-apr/extra/httpd-ssl.conf:
SSLCertificateFile: file '/usr/local/apache2/etc--with-included-apr/server.crt' does not exist or is empty
问题原因:去配置文件注释掉相应的配置选项。
AH00526: Syntax error on line 78 of /usr/local/apache2/etc/extra/httpd-ssl.conf:
SSLSessionCache: 'shmcb' session cache not supported (kNown names: ). Maybe you need to load the
appropriate socache module (mod_socache_shmcb?).
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。