![Apache 正在响应空白页](https://linux22.com/image/599183/Apache%20%E6%AD%A3%E5%9C%A8%E5%93%8D%E5%BA%94%E7%A9%BA%E7%99%BD%E9%A1%B5.png)
我有以下情况:
一个使用 apache 2.4 托管并使用 ssl 的网站,目前运行良好,但是突然之间,在没有对网站进行修改的情况下,apache 开始提供随机的空白页。
解决方法是删除浏览器的 cookie 或重新启动浏览器。
我已经将 vitualhost 切换为以调试模式登录,但没有任何进展。
以下是页面加载失败的调试日志:
[Wed Oct 24 10:57:35.762547 2012] [ssl:info] [pid 27854:tid 140617706374912] [client 192.168.10.150:58917] AH01964: Connection to child 147 established (server xxx.com.br:443)
[Wed Oct 24 10:57:35.762739 2012] [ssl:debug] [pid 27854:tid 140617706374912] ssl_engine_kernel.c(1966): [client 192.168.10.150:58917] AH02043: SSL virtual host for servername xxx.com.br found
[Wed Oct 24 10:57:35.777479 2012] [ssl:debug] [pid 27854:tid 140617706374912] ssl_engine_kernel.c(1899): [client 192.168.10.150:58917] AH02041: Protocol: TLSv1, Cipher: DHE-RSA-AES256-SHA (256/256 bits)
[Wed Oct 24 10:57:35.779912 2012] [ssl:debug] [pid 27854:tid 140617706374912] ssl_engine_kernel.c(243): [client 192.168.10.150:58917] AH02034: Initial (No.1) HTTPS request received for child 147 (server xxx.com.br:443)
[Wed Oct 24 10:57:35.780044 2012] [authz_core:debug] [pid 27854:tid 140617706374912] mod_authz_core.c(809): [client 192.168.10.150:58917] AH01628: authorization result: granted (no directives)
[Wed Oct 24 10:57:40.783950 2012] [ssl:info] [pid 27854:tid 140617706374912] (70007)The timeout specified has expired: [client 192.168.10.150:58917] AH01991: SSL input filter read failed.
[Wed Oct 24 10:57:40.784077 2012] [ssl:debug] [pid 27854:tid 140617706374912] ssl_engine_io.c(988): [remote 192.168.10.150:58917] AH02001: Connection closed to child 147 with standard shutdown (server xxx.com.br:443)
答案1
如果通过删除 cookie 解决了问题,那么该问题很可能与 Apache 本身无关。
我宁愿去解决你所服务的网站的故障。
然而,即使 Apache 不对错误“负责”,查看 Apache 的错误日志也是个好主意。