dotolee Posted May 2, 2008 Share Posted May 2, 2008 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. Quote Link to comment https://forums.phpfreaks.com/topic/103863-newbie-cant-get-localhost-to-work/ Share on other sites More sharing options...
StormTheGates Posted May 14, 2008 Share Posted May 14, 2008 Check your Listen directives in the .conf files. But honestly if you want to set up a quick direct test environment on your computer just get and install XAMP. It will install Apache, PHP, and MySQL for you. Quote Link to comment https://forums.phpfreaks.com/topic/103863-newbie-cant-get-localhost-to-work/#findComment-541212 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.