Why, apache wont deliver pages

Discussion in 'Apache' started by crvoss, Oct 26, 2007.

  1. #1
    I have installed apache to my laptop (running XP home) but cannot seem to get apache to deliver pages using http://localhost. I have placed some HTML pages in htdocs and changed the listen port (Listen 80) to various values with no luck (though it changes the error message I get). The apache service shows to be started and I have restarted it between every config modification. I have read many of the messages on this site trying to determine what to do. Can anyone help me with this?

    When using Listen 80 or Listen *:80
    The browser eventually times out after an extemded period

    When using Listen 8080 or Listen 3611 or Listen 127.0.0.1:80
    The browser responds with "unable to connect"
     
    crvoss, Oct 26, 2007 IP
  2. mergemedia

    mergemedia Peon

    Messages:
    55
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what does your apache error log say?
     
    mergemedia, Oct 26, 2007 IP
  3. crvoss

    crvoss Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is nothing in it that indicates a problem.

    I did another thing that might help diagnose the problem. I shut down apache and did a netstat -ano and there were no processes accessing port 80. Then I started apache and did another netstat -ano. That gave me one process listening on port 80. I then launched Firefox and type in the URL http://localhost/ which it did not find anything. I then did another netstat -ano and it showed one process listening (I assume to be apache) and two process listed as established. One with a foreign address of 127.0.0.1:1140 and the other with a foreign address of 127.0.0.1:80. I dont know how to interpret that since I dont know how to find out what program it is talking about. It lists the PID but I don't know how to find out which program it is. Can you help me there?
     
    crvoss, Oct 26, 2007 IP
  4. woods

    woods Peon

    Messages:
    228
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I check PIDs through the task manager atleast.

    Show -> Choose columns -> Check in PID (Proces identification)

    Then just check the 'Processes' tab and sort by PID and it'll be easy to find


    keep in mind I'm roughly translating my swedish XP to english, so I'm sure it's named something else. :)
     
    woods, Oct 27, 2007 IP