Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Apache Server Windows XP

Options
  • 22-08-2004 11:44am
    #1
    Closed Accounts Posts: 1,541 ✭✭✭


    Hello Everyone,

    I have downloaded the Apache 2.5.0 server for Windows XP. I have installed it on PC. I just entered localhost as server and domain name. I selected to listen on Port 80 as opposed to current user option. I choose typical installation. It did install ok, I think. It started automatically I think as sonn as it was downloaded. I have service pack one on my Windows Xp.

    What I want to do is to test PHP and CGI scripts locally on my machine without having to go on the NET.

    My problem is that when I enter http://localhost into my browser page cannot be displayed comes up :( . Did I leave out a step? What did I do wrong?

    Any advice would be appreciated. Cheers. :D


Comments

  • Closed Accounts Posts: 358 ✭✭CH




  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    Thanks. I seem to have tried everything but I will have another look. Any other ideas welcome. :D


  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    please place the following directives in httpd.conf to see if they eliminate the issue:

    EnableSendfile Off
    EnableMMAP Off
    Win32DisableAcceptEx

    How do I do this????


    The "Page cannot be displayed" comes up on MIE while "The connection was refused when attempting to contact localhost" comes up in Firefox. Any idas?
    :)


  • Registered Users Posts: 1,967 ✭✭✭Dun


    Your httpd.conf files resides in:

    C:\Program Files\Apache Group\Apache\conf

    Open it in notepad and edit away. Have you tried disabling your firewall, if you have one, to see if that's preventing apache from accepting connections? Also try restarting - there should be an "Apache HTTP Server" Menu in your Start - (All) Programs Menu. Go there, and click "Control Apache Server" - Restart Apache Server and see if it works.

    Also note that when you edit your httpd.conf file you MUST restart Apache (as above) to make the changes take effect.


  • Closed Accounts Posts: 1,541 ✭✭✭finnpark


    I tried to change the httpd.conf file without restarting but I will try that tonight. Thanks.

    Well I do have it working now. It worked as soon as I uninstalled AVG anti-virus. Some kind of security/firewall issue I think-strange. But by changing the httpd.conf file should get round this AVG block and I will restart Apache this time. :D

    Also I noticed that the CGI-bin is allready on. Is this hard to configure/initiate. I will have a look on google. Thanks lads. :)


  • Advertisement
Advertisement