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: Apache 2.2.2 on WinXP SP2
Author
rayvan



Joined: 20 Jul 2006
Posts: 1

PostPosted: Thu 20 Jul '06 23:38    Post subject: Apache 2.2.2 on WinXP SP2 Reply with quote

hi there,
i've got a problem with getting apache 2.2.2 on my winxp sp2 machine to work. i've been using apache since the 1.* versions, from which i (painfully) switched to 2.* version. i remember the hours i spent on this to make the 2.* version work, and currently i am at the same state with 2.2.2. i had a running 2.0.* (don't rememer the exact version) apache with php5. this one worked. now, when i do a completely clear install of 2.2.2 (no php, no special modules included, a clear default conf with only inevitable changes applied - serverroot, ...) - it just won't work. here is how it behaves:

1. d/l of apache 2.2.2 binaries zip from apachelounge
2. unzipping and setting up - i hold on to the readme-first's and the main tutorial from apachelounge - listening set to port 80 or 127.0.0.1:80 (same result)
3. i successfully start the service
4. when i try to access localhost/127.0.0.1 from in any browser/telnet/anything - it hangs/timeouts - it won't show neither the default apache's html page when leaving the document root defaultly pointing to installdir/htdocs

- 0 lines in access log
- 0 errors in error log (even when loglevel set to debug), only usual startup/shutdown lines, aso
- local firewall (kerio winroute) completely disabled
- the service is installed, running (on given port, according to Active Ports utility), even changes status when trying to make requests from browser - from LISTENING to ESTABLISHED - and back to CLOSE_WAIT when cancelling the request in browser

it seems to me that the server is properly running (i even managed to start it with php, mod_dav, mod_perl, and some more modules running with it), but not responding to request. any idea on why this is happening/what can be done about it? thank you
Back to top
pnllan



Joined: 05 Dec 2005
Posts: 221

PostPosted: Fri 21 Jul '06 7:17    Post subject: Reply with quote

What's the ServerName directive set to?

I set mine to:

Listen 80

ServerName localhost:80

Also, since you had a previous version of Apache most likely from ASF - check the service setup via services.msc - then right for Properties | look at General tab and see if Path to executable (halfway down) is correct.

Remember, starting with Apache 2.2.0 apache.exe was renamed to httpd.exe

Beyond that - it sounds like a network setup issue.
..
.
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Fri 21 Jul '06 10:35    Post subject: Reply with quote

Try something like:

Code:
cd path/to/old/apache/bin
apache.exe -k uninstall

cd path/to/new/apache/bin
httpd.exe -T


if httpd.exe doesn't complain do a reboot and then run:

Code:
httpd.exe -k install
httpd.exe -k start


if it still time out try running httpd.exe -w and see if it spit outs startup errors
Back to top


Reply to topic   Topic: Apache 2.2.2 on WinXP SP2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache