Active3 years, 7 months ago
(I know the answer to this question. Posting this just to share the answer with the community)
My local (Windows 7) instance of Apache 2.4 experiences delays or hang-ups when serving some URLs, depending on which browser I use to access these URLs.
With Firefox/Chrome, Apache is slow to respond on certain URLs. The sluggishness occurs about 20% of the time on any given URL. When it does occur, there's a 5-second delay during which Firefox displays a 'Waiting for..' status.
With Internet Explorer 9, Apache simply hangs and stops serving any requests (with any browser) until it is restarted.
- This seems to occur only with dynamic (PHP) requests, but not all of them. In fact, it only occurs on one specific site. Other PHP-based sites on the same machine work fine.
- It may or may not be significant that the problematic site consists of a large number of subdomains (VirtualHosts).
- Disabling the Windows Firewall and Comodo Firewall doesn't help.
- The problem seems more frequent with 'busier' pages (additional requests for IFRAMES etc.)
Windows 10 has been released on the world and so an updated how to guide for installing Apache, PHP and MySQL on the latest release. In this post like previous we will cover installing all the programs individually. This will cover installing 64 bit versions of the programs. Apache 2.4 Install. A Windows Web development environment for Apache, MySQL, PHP databases WampServer is a Web development platform on Windows that allows you to create dynamic Web applications with Apache2, PHP, MySQL and MariaDB.
I've tried many changes to
Eric Fossumhttpd.conf
(such as disabling KeepAlive, EnableMMAP, HostnameLookups) but nothing seems to work.49811 gold badge66 silver badges1515 bronze badges
Tomasz P. SzynalskiTomasz P. Szynalski
2 Answers
Answered by Thomasz
The solution is to add the following to your
httpd.conf
:On Windows, this has the effect of disabling the AcceptEx() API (part of WinSock), which offers some performance improvements, but probably conflicts with Comodo Firewall.
Putting Comodo Firewall in 'Disabled' mode doesn't help because requests probably still go through Comodo's networking code. I think Comodo would have to be uninstalled completely to eliminate the problem (though I haven't tried it).
If you have a similar problem with Apache 2.2, you should use the Win32DisableAcceptEx directive instead.
References
Quoting from http://httpd.apache.org/docs/2.4/mod/core.html: Send commands to serial port linux.
The default values on Windows are:
AcceptFilter http data
AcceptFilter https data
Window's mpm_winnt interprets the AcceptFilter to toggle the AcceptEx() API, and does not support http protocol buffering. There are two values which utilize the Windows AcceptEx() API and will recycle network sockets between connections. data waits until data has been transmitted as documented above, and the initial data buffer and network endpoint addresses are all retrieved from the single AcceptEx() invocation. connect will use the AcceptEx() API, also retrieve the network endpoint addresses, but like none the connect option does not wait for the initial data transmission.
On Windows, none uses accept() rather than AcceptEx() and will not recycle sockets between connections. This is useful for network adapters with broken driver support, as well as some virtual network providers such as vpn drivers, or spam, virus or spyware filters.
See also:http://forums.comodo.com/help-for-comodo-antivirus/conflict-with-apache-t260.0.html;msg31636#msg31636
Manual for proform 495 pi treadmill. Rotate the right screw one-half turn if the belt has veered to the right. Rotate the left roller screw about one-half turn clockwise if the belt is too far to the left. Turn both screws clockwise about one-quarter turn to tighten the belt.
Eric FossumEric Fossum49811 gold badge66 silver badges1515 bronze badges
I'm running Apache 2.4.16 on a Windows 7 Pro box, and my website just stopped working about 2 weeks ago. Adding this fixed the problem.
Apache 2.2 Binary For Windows
karel10.1k1111 gold badges3535 silver badges4141 bronze badges
pluckyduckpluckyduck
Not the answer you're looking for? Browse other questions tagged windows-7windowsapache-http-servercomodo-firewall or ask your own question.
Viewed 6k times
I am new to configuring apache and I am trying to configure it to use ssl. Here are my configuration files.
httpd.conf file:I uncommented the following lines:
this is my httpd-ssl file:
And here is my server.xml file in Tomcat:
With this configuration, I am able to restart apache. But I have no access to my site. I get a unresponsive server error in chrome.
If I take the configuration out of httpd-ssl file and put it in httpd-vhosts and change the port from 443 to port 80. I am able to get to the site. But its not an ssl connection. Any help is really appreciated. I don't have any errors in the error log in apache, or in the windows event viewer.
I have Windows server 2003 R2 running on the server. I also generated my cert and key files using openssl. I don't have any certificate related errors.
Any thoughts or suggestions on what I am missing?
Thanks
Apache 2.2 Download For Windows 64 Bit
user648869user648869