Apache stops responding to http requests -- https continues to work
- by Apropos
Okay. Very strange problem that I'm having here. I just recently updated to Apache 2.4.2 from 2.2.17, mostly to try to get name-based SSL VirtualHosts working (although they should have been working on 2.2.17). Server is Win2008 R2 (so x64 by definition) running with PHP 5.4.3 and MySQL 5.1.40 (outdated, I know).
When I launch the server, it initially works fine. Responds to all requests, VirtualHosts all in order. However, after an uncertain amount of time (appears to only take a few minutes for the most part, but sometimes takes hours), it stops responding to regular HTTP requests (on any VirtualHost). HTTPS continues to work. No errors in the log, and nothing in the access logs when I attempt to connect.
I'm having a hard time finding the source of this error given its intermittent nature. When removing all SSL-based VirtualHosts, it seemingly increased stability (still responding to HTTP requests twelve hours later). This could be mere coincidence, though.
Entirety of SSL VirtualHost is as follows, should there happen to be a problem with it.
<VirtualHost *:443>
DocumentRoot "C:\Server\www\virtualhosts\mysite.net"
ErrorLog logs/ssl.mysite.net-error_log
CustomLog logs/ssl.mysite.net-access_log common env=!dontlog
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile C:/Server/bin/apache/apache2.4.2/conf/ssl/server.crt
SSLCertificateKeyFile C:/Server/bin/apache/apache2.4.2/conf/ssl/server.key
SSLCertificateChainFile C:/Server/bin/apache/Apache2.4.2/conf/ssl/sub.class1.server.ca.pem
SSLCACertificateFile C:/Server/bin/apache/Apache2.4.2/conf/ssl/ca.pem
</VirtualHost>
Any ideas what I'm missing?