Author |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Thu 02 Oct '08 20:09 Post subject: Problem with 2.2.9 |
|
|
Hi all Here is my problem:
The other day I reinstalled my windows (xp pro) after that I downloaded and extracted httpd-2.2.9-win32-x86-ssl.zip (in C:\Apache2). Installed VC++ 2008 and started Apache (with cmd)... ok... but when I try to type http://localhost or http://127.0.0.1 in my browser it's not showing me the "It's working" page. When I tried to install Apache as a service it told me that I have to configure httpd.conf but it's configured by default to show me "it's working". Right? I checked the ports and nothing uses port 80. I don't know where is the problem. Do I need to install something else for Apache to work? It's a fresh installation of windows xp pro and I can't see the reason why Apache is not working.
Sorry for my english I'm bulgarian |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Thu 02 Oct '08 20:17 Post subject: |
|
|
I wish my Bulgarian (any other language for that matter) was as good as your English.
Quote: | Apache as a service it told me that I have to configure httpd.conf but it's configured by default to show me "it's working". Right? |
Not necessarily.
error log error log error log .. you'll be amazed at what you can find there. In the event that Apache takes a dive before logging is enabled, the Event Log in Windows is the next place to look. |
|
Back to top |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Fri 03 Oct '08 8:48 Post subject: |
|
|
Thanks for the reply
Checked the log... Anything wrong here? Code: |
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.9 (Win32) configured -- resuming normal operations
[Fri Oct 03 09:34:08 2008] [notice] Server built: Jun 12 2008 20:46:28
[Fri Oct 03 09:34:08 2008] [notice] Parent: Created child process 3288
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Child process is running
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Acquired the start mutex.
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Starting 64 worker threads.
[Fri Oct 03 09:34:08 2008] [notice] Child 3288: Starting thread to listen on port 80. | Also checked the logs in the Event Viewer... it tells me that Apache is running with no errors... checked the ports one more time and nothing. Opened httpd.conf for "N"th time and it's configured by default to show me the "It's working!" page (DocumentRoot "c:/Apache2/htdocs" and here is the index.html file). Maybe I'm missing something here?
One more thing... When I open Windows Task Manager and I search for httpd.exe I see that there are 2 processes named like that. Is this a problem?
Also what's the difference between VC 2008 x64 & VC 2008 x86 ? And which I should install? |
|
Back to top |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Fri 03 Oct '08 19:07 Post subject: |
|
|
Can anyone help me? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 03 Oct '08 19:22 Post subject: |
|
|
Quote: | Also what's the difference between VC 2008 x64 & VC 2008 x86 ? And which I should install? |
You must use x86 (32 bit) unless you have a x64 (64 bit) computer at which point you must use x64.
Quote: | When I open Windows Task Manager and I search for httpd.exe I see that there are 2 processes named like that. Is this a problem? |
No, this is normal. One simply listens and nothing else.
Quote: | Maybe I'm missing something here? |
Not sure since I cannot see config (DO NOT POST IT).
Are you getting no response or simply a blank page? |
|
Back to top |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Fri 03 Oct '08 20:15 Post subject: |
|
|
So I correctly installed the x86 package...
For the config file.. it's just the default conf file with some minor changes. I'm only running apache for me to make some tests.
I don't get any kind of page... it keeps loading and loading and loading and... that drives me really crazy since I can't figure out what's the problem. If you have a solution or you know where is the problem please provide it cuz I really need Apache to start working.
Thanks in advance (and again sorry for my english)! |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Fri 03 Oct '08 21:10 Post subject: |
|
|
Quote: | ... it keeps loading and loading and loading and... I can't figure out what's the problem. |
Sounds like it is not even getting the request ... like if you went to
http://1.1.1.1
It's time to look at firewalls (Windows and any 3rd party one that may be installed)
start -> control panel -> windows firewall -> exceptions tab -> add program -> browse for and select httpd.exe -> ok -> ok
any other firewall to be looking at? One that my come with an Internet Security program like Norton or a 3rd party firewall like ZoneAlarm? |
|
Back to top |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Fri 03 Oct '08 23:52 Post subject: |
|
|
Nope... I don't use Windows firewall (it's turned off) but I added httpd.exe in the exceptions tab. I'm using Avast so I stopped it and tried again to start Apache... and guess what... not working I'm tired |
|
Back to top |
|
komapeb
Joined: 02 Oct 2008 Posts: 6 Location: Straldzha, Bulgaria
|
Posted: Sat 04 Oct '08 18:45 Post subject: |
|
|
MAGIC! It works... for some reason Apache didn't work with Firefox (3.0.3) and I don't know where was the problem but I decided to uninstall firefox and install google's chrome. When I typed the magic words in cmd and typed http://localhost in the browser (now Chrome) it is showing me that apache works! Thanks for the help anyway I've learned some new things because of you Thanks for real! |
|
Back to top |
|