logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: need to enter url twice
Author
mkarmali



Joined: 09 Aug 2012
Posts: 13
Location: Canada, Edmonton

PostPosted: Sun 19 Aug '12 23:31    Post subject: need to enter url twice Reply with quote

I recently installed Apache, php and mysql on my Windows 7 machine.

When I enter "http://localhost/index.html" 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?

Thanks,
mkarmali
Back to top
mkarmali



Joined: 09 Aug 2012
Posts: 13
Location: Canada, Edmonton

PostPosted: Mon 20 Aug '12 0:32    Post subject: Reply with quote

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.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 20 Aug '12 2:26    Post subject: Reply with quote

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.
Back to top
mkarmali



Joined: 09 Aug 2012
Posts: 13
Location: Canada, Edmonton

PostPosted: Mon 20 Aug '12 21:24    Post subject: Reply with quote

Thanks a lot. It works!
Back to top


Reply to topic   Topic: need to enter url twice View previous topic :: View next topic
Post new topic   Forum Index -> Apache