This is a discussion on more help needed within the Windows Web Servers forums, part of the Web Server and Related Forums category; I'm very new to this as well. I tried to install Apache 2.0.43 on Windows XP and ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm very new to this as well. I tried to install Apache 2.0.43 on
Windows XP and ran into many of the same problems as original poster, but even worse. Upon initially starting Apache, I too received the prompt screen, which wouldn't accept any input. I closed this screen and checked my httpd.conf file and changed it from 127.0.0.1 to localhost. Now when I attempt to start Apache the prompt window briefly opens before immediately closing again (so quickly I can barely see it). I even tried to uninstall and reinstall, but it seems to have maintained the old httpd.conf file. What am I doing wrong? And how do I find the Windows host file? I appreciate any help offered. Thanks. |
|
|||
|
On 11 Jul 2003 19:58:05 -0700, The Other Guy responded to a post from
mikel@tennis.com (squinter) who wrote in comp.infosystems.www.servers.ms-windows: >I'm very new to this as well. I tried to install Apache 2.0.43 on >Windows XP and ran into many of the same problems as original poster, >but even worse. Upon initially starting Apache, I too received the >prompt screen, which wouldn't accept any input. That is a normal console, so it sounds like you haven't installed it as a service. Try the following: type in "apache -k install " at a DOS prompt; See http://httpd.apache.org/docs-2.0/pla...ws.html#winsvc >I closed this screen >and checked my httpd.conf file and changed it from 127.0.0.1 to >localhost. Now when I attempt to start Apache the prompt window >briefly opens before immediately closing again (so quickly I can >barely see it). This is normal as well, as long as you don't see any error messages on the screen. >I even tried to uninstall and reinstall, but it seems >to have maintained the old httpd.conf file. Using Add/Remove Programs in the Control Panel does not remove the folders that you created from a previous installation, it just remove registry edits, etc. If you want a clean install, after using Add/Remove, delete the Apache2 folder that was created when you first installed the program. >What am I doing wrong? And how do I find the Windows host file? Start --> Find --> Files or Folders. Then type in hosts*. It should be in C:\WINDOWS\SYSTEM32\DRIVERS\ETC See http://www.mvps.org/winhelp2002/hosts.htm or http://www.accs-net.com/hosts/what_is_hosts.html >I appreciate any help offered. A couple of more things: 1) go into Admin Tools --> Services in the Control Panel and check to see if the Apache Service is installed and what its settings are. 2) type "netstat -ano" in a DOS prompt window and see if there is anything listening to the port that you set Apache to (usually port 80). Also note the PID and then go into Admin Tools>Services to see if that matches Apache. Check your error logs (in the Apache2/log folder) to see if there is anything that tells you what may be wrong. Also keep in mind that you may have to configure any routers and firewalls to work with Apache on that port. >Thanks. Good luck. HTH TOG -- ../configure --prefix=~/zyterion Not this guy or that guy, The Other Guy. This spot may contain a satirical comment or comedic source, and is meant to be funny. If you are easily offended, gullible or don't have a sense of humour we suggest you read elsewhere. |
| Thread Tools | |
| Display Modes | |
|
|