views:

75

answers:

4

I had been running Apache on Vista for around a year, but recently upgraded my workstation. I did a clean install of Vista Ultimate and installed the latest version of the Apache server for win32 (2.2.11, no SSL). The service runs fine and there were no errors reported during the install, nor are there any errors in the Apache logs. However, any attempt to access the web site on localhost (or 127.0.0.1) just hangs the browser. I have used netstat to check who is listening to port 80 and it shows httpd.exe. I have also tried adjusting the .conf file to use port 8080 but this had no effect either (except to change the netstat output).

This is a development system with quite a few other pieces of software installed. However, when I tried installing IIS, it worked fine (I removed it soon after before reattempting the Apache install). Using the older 2.0 version of Apache has no effect.

Windows firewall is not running. I have disabled my NOD32 anti-virus.

Any ideas what is going on?

Regards,

William

A: 

I would have a look at the error and access logs. Determining if the requests are even reaching the server will help eliminate a lot of possibilities.

If the requests are reaching the server, you could try using

telnet 127.0.0.1 80

to try debugging the connection manually. If apache accepts the connection, you can try using

GET /index.html

or which ever page you are trying to view.

Dana the Sane
A: 

Thanks for the quick reponse, Dana.

The Apache error log only has startup stuff in it. The access log is completely empty.

I tried telnet earlier - the connection is accepted, but when anything is entered, it just hangs. (I have to close the DOS box to get out.)

Regards,

William

William, you should add this as an update to your question rather than an answer. I think the access log is written fairly early in the request so I'm not sure why it's not being set, but the connection still accepted.
Dana the Sane
A: 

I got nowhere with this, so reinstalled Vista from scratch. That seemed to fix it, for reasons that I still not understand!

Regards,

William

A: 

I have similar problem. Apache works for few minutes/sometimes even few hours, and just becomes unresponsive. I'm running Windows Vista ultimate. Firewall is turned off.