@funk31,
I don't have a solution to your problem but perhaps something else to look at . . . .
When your Apache web server
is not functioning please take a look at the Windows Firewall in Control Panel. I bet that it will state "These settings are being managed by vendor application avast! Internet Security".
When your Apache server is functioning, the same Windows Firewall screen in Control Panel will look "normal" and tell you that Windows Firewall is active. See my post in
http://forum.avast.com/index.php?topic=137162.0 for the screens I am talking about.
From your recent posts it appears that you are having a similar problem that I have. To get to the state that Windows Firewall is not being controlled by avast! Internet Security you will have to reboot several times. Apparently there is an inconsistency with the avast! firewall in that it controls the Windows Firewall on a random basis.
I know this is not a solution but if your situation mirrors mine than perhaps it will assist the avast! team in figuring out what is wrong.