Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every so often, in other words intermittently, Chrome, FireFox and IE hang for a long time or sometimes forever and don't display, or don't fully display, a localhost page. A simple test.htm page can either load quickly, or take forever to load.

I am testing this by reloading a page with ^R, or with ^F5 (which issues no-cashe).

Opera and Safari don't do this, or if they do it isn't noticeable.

If I've got several browser open at the same time. Once one browser hangs up and can't display a page, and shows that little wherly gig, then all of them will hang up and not be able to reload the page, ..until the first one clears.

I can clear it either by restarting Apache, switchine WiFi on or off, or hitting escape, (but escape only stops the current attempt as the next attempt will also fail).

It's almost like Apache is crashing in some way.

Here is some of what I've tried:

  • Editing etc/hosts as recommended by others, to: locahost.

  • Getting rid of .htaccess and reducing httpd.conf to bare minimum (see below):

  • Simplifying the pages I'm trying to use, e.g. breaking down what I can.

My setup: Win7-x64, Apache Lounge VC11, Apache 2.4.7 (Win32) OpenSSL/1.0.1e

No errors reported in the apache log file. I've deleted .htacess.

Since I'm serving from localhost, if I disable my WiFi this will usually un-stick a waiting page. Likewise, if a page sticks while WiFi is disabled, enabling it will un-stick a waiting page. It's crazy. It's like it's trying to get something from the network. (And yes, I do run virus software.)

Also I've pretty much ruled out php by testing with .html files.

ServerRoot "c:/Program Files (x86)/Apache24"

LoadModule access_compat_module modules/
LoadModule alias_module         modules/
LoadModule authz_core_module    modules/
LoadModule expires_module       modules/
LoadModule headers_module       modules/
LoadModule log_config_module    modules/   
LoadModule mime_module          modules/
LoadModule negotiation_module   modules/
LoadModule php5_module          "c:/Program Files (x86)/php/php5apache2_4.dll"

LoadModule setenvif_module      modules/
LoadModule socache_shmcb_module modules/
LoadModule ssl_module           modules/

<Directory />
    AllowOverride none
    Require all denied

<Directory "C:/home/usedsoup/public_html">
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted

<Files ".ht*">
    Require all denied

ErrorDocument 404 "/Missing.php"
ErrorLog "logs/error.log"
LogLevel warn
<IfModule log_config_module>
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t %k %D \"%r\" %>s %b" common
    CustomLog "logs/access.log" common

Include conf/extra/httpd-ssl.conf
<IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin

PHPIniDir "c:/Program Files (x86)/php"
AddHandler application/x-httpd-php .php
<FilesMatch \.php$>
    SetHandler application/x-httpd-php

# Virtual hosts
Listen 80
<VirtualHost *:80>
    DocumentRoot "c:/Home/usedsoup/public_html"
    ServerName http://localhost:80

<VirtualHost *:80>
    DocumentRoot "c:/Home/usedsoup/public_html"
    ServerName https://secure.localhost:80

<VirtualHost *:80>
    DocumentRoot "c:/Home/usedsoup/public_html"
    ServerName http://i.localhost:80
share|improve this question
OpenSSL 1.0.1e has a critical security bug, update it – miniBill Mar 11 '14 at 5:57

I think I found a solution.

AcceptFilter http none
AcceptFilter https none 

Look here.

share|improve this answer
Please describe the solution briefly here too, we want to avoid linkrot – miniBill Mar 11 '14 at 5:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .