Apache 2.2 Installation Problems - no connection to 'localhost'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patrickr
    New Member
    • Feb 2008
    • 1

    #1

    Apache 2.2 Installation Problems - no connection to 'localhost'

    Hi, can someone help me with with this stupid but fundamental problem...
    I am trying to install Apache2.2.8 (I have also tried 2.2.6 & XAMPP) but when I try the local test (http:/localhost/) it just hangs up. I have followed the instructions in O'Reilly's Learning PHP & MySQL to the letter (basically following the install wizard and using 'localhost' & 'localhost' in the Network_Domain & Server_Name respectively and choosing HTTP server 2.0 programs for All Users.

    I was running Windows XP Home SP2 (fully up to date) but have now upgraded to WP Pro (fully up to date) with IE7 (IIS not installed).... didn't make any difference.

    I have tried disabling my Firewall and even disconnecting from the internet but all to no avail.

    I have checked 'netstat - anb' and the only thing that is listening on port 80 is httpd.exe.

    I have checked and tickled the httpd.conf file entries that have been pointed out to me ....

    ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"
    Listen 127.0.0.1:80
    ServerName localhost
    DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
    <Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs">

    .... and I think they are ok, but still the problem persists.

    It seems to be conflicting with IE in some way as I seem to be getting 'page not found' quite a lot after trying to find my local host but that might be coincidence.

    The only other thing that I can see that looks curious is on the netstat log I get ...

    TCP [httpd.exe] Local 127.0.0.1:80 Foreign 127.0.0.1:1058 (this port varies) Established
    TCP [iexplorer] 127.0.0.1:1058 (port always matches previous entry) Foreign 127.0.0.1:80 Established

    There is nothing on Apache error log to suggest a problem - last entry is "[Tue Feb 05 22:35:27 2008] [notice] Child 3188: Starting thread to listen on port 80.".

    Please help (anyone) - my sanity is now in jeopardy.
    Patrick.
Working...