Apache 的用户认证阶段错误:
[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?).
问题原因:不调用此模块,要么让调用的模块加载上