logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Attempting to set up apache for home use/localhost
Author
RiverLee



Joined: 31 Mar 2010
Posts: 3

PostPosted: Wed 31 Mar '10 4:50    Post subject: Attempting to set up apache for home use/localhost Reply with quote

Hello everyone. I have downloaded and installed : httpd-2.2.15-win32-x86-no_ssl.msi and when I point my browser at http://localhost it does nothing (in FF) or says that I am not connected to the internet (IE).

I have attempted turned off my firewall, pinged 127.0.0.1:80, my IP and shared IP address all coming back normal.

My error log reads:

Quote:
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Tue Mar 30 20:30:55 2010] [notice] Server built: Mar 4 2010 11:27:46
[Tue Mar 30 20:30:55 2010] [notice] Parent: Created child process 2560
[Tue Mar 30 20:30:55 2010] [notice] Child 2560: Child process is running
[Tue Mar 30 20:30:55 2010] [notice] Child 2560: Acquired the start mutex.
[Tue Mar 30 20:30:55 2010] [notice] Child 2560: Starting 64 worker threads.
[Tue Mar 30 20:30:55 2010] [notice] Child 2560: Starting thread to listen on port 80.
[Tue Mar 30 20:31:46 2010] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Tue Mar 30 21:23:25 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Mar 30 21:23:25 2010] [notice] Child 2560: Exit event signaled. Child process is ending.


Quite frankly I'm stumped. Please help. Laughing
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Wed 31 Mar '10 5:01    Post subject: Reply with quote

sounds like localhost is not defined in the windows hosts file
c:\windows\system32\drivers\etc\hosts

should have in there
127.0.0.1 localhost

did you try
http://127.0.0.1
Back to top
RiverLee



Joined: 31 Mar 2010
Posts: 3

PostPosted: Wed 31 Mar '10 6:24    Post subject: Reply with quote

The file has "127.0.0.1 localhost" I have also tried http://127.0.0.1 but it produces the same results as http://localhost.

I have also now tried changing ports http://localhost:8080 produces the same results...

This was done as follows:
Quote:
C:\xampp\apache\conf\httpd.conf:

* Scroll down and find “Listen 80″, change to “Listen 8080″
* Also find “ServerName localhost:80″, change to “ServerName localhost:8080"

C:\xampp\apache\conf\extra\httpd-ssl.conf

* Scroll down and find “Listen 443″, change to “Listen 4499″
* Also find “<VirtualHost _default_:443>”, change to “<VirtualHost _default_:4499>”
* and just below that find “ServerName localhost:443″, change this to “ServerName localhost:4499″

(I found this off of another forum.)
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 01 Apr '10 5:11    Post subject: Reply with quote

Looking back at the original, something connected and requested favicon.ico, like a browser would.

[Tue Mar 30 20:31:46 2010] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico

So it worked at 51 seconds after you started Apache.
That it then was blocked, sounds like firewall.

Anything in the Windows Event Log?
Have specifically allowed the port through Windows firewall?
Back to top
RiverLee



Joined: 31 Mar 2010
Posts: 3

PostPosted: Thu 01 Apr '10 6:28    Post subject: Reply with quote

I have tried turning off my firewall to see if that was the issue. Could it still be blocking it in some capacity even with it turned off?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 01 Apr '10 8:13    Post subject: Reply with quote

I've seen it happen which is why I asked about opening the port ... with it on
Back to top


Reply to topic   Topic: Attempting to set up apache for home use/localhost View previous topic :: View next topic
Post new topic   Forum Index -> Apache