Page 1 of 1

need to enter url twice

Posted: Sun Aug 19, 2012 1:46 pm
by mkarmali
I recently installed Apache, php and mysql on my Windows 7 machine.

When I enter "http://localhost/index.php" the first time, nothing happens. It seems like it's looking for the web page. The browser doesn't respond.

But when I stop the browser and enter the url the second time it responds correctly.

I always have to enter the url twice for it to work.

Does any one know why this is happening?


Re: need to enter url twice

Posted: Sun Aug 19, 2012 2:37 pm
by mkarmali
The apache error log gives me:

[Sun Aug 19 14:12:50.328873 2012] [mpm_winnt:warn] [pid 2616:tid 980] (OS 64)The specified network name is no longer available. : AH00341: winnt_accept: Asynchronous AcceptEx failed.

Re: need to enter url twice

Posted: Mon Aug 20, 2012 11:37 am
by mkarmali
It works! Here is the answer courtesy of glsmith moderator at

Add somewhere in the global context of the config

AcceptFilter http none

Once you're running 2.4.3 you can also add

AcceptFilter https none

for SSL connections. This last one can only be done once running 2.4.3 as it's been broken for a long time and finally fixed.