Jump to content

Recommended Posts

So i started to follow some step by step configuration tutorial online and i managed to mess things up.

now when i navigate to "http://localhost" it doesn't display my treasured "it works" message. (so sad)

The error message I'm getting is that I'm not authorized to view the page.  As a test, i tried using 127.0.0.1 instead but I get the same message.

 

When I run httpd.exe, this is the output i get:

 

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd

Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host.phub.net.cable.rogers.com] does not exist

Warning: DocumentRoot [C:/Program Files/Apache Software Foundation/Apache2.2/docs/dummy-host2.phub.net.cable.rogers.com] does not exist

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

[Wed Apr 30 08:52:43 2008] [warn] _default_ VirtualHost overlap on port 80, the first has precedence

[Wed Apr 30 08:52:43 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address 0.0.0.0

:80

no listening sockets available, shutting down

Unable to open logs

 

When I initially installed apache, it detected my ISP provider (rogers) and my IP settings etc and I just accepted all defaults.  I don't really need to connect directly from my box to the LIVE production URL ...

I just need localhost to work.

What I'm trying to accomplish is the following:

create a development environment on my box where i can create HTML / PHP files with server side includes.  Once the site is working, i will manually copy the files over to a server that has already been set up for me by the IT folks in the office. 

Thanks for the help.

Link to comment
https://forums.phpfreaks.com/topic/103863-newbie-cant-get-localhost-to-work/
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.