I won't debate you. You mentioned that you entered jk.mshome.net when the installer asked. That's fine, but that means that jk.mshome.net has to work. By "work" I mean resolve correctly and Apache has to be expecting requests for that hostname. If Apache is set to look for localhost, and instead sees a request for jk.mshome.net, it won't work. Conversely, if Apache is set to look for jk.mshome.net but instead receives requests for localhost or 127.0.0.1, it won't work then, either. As I said, things have to match. If a previous version handled things differently, that's something that was probably resolved in later versions (which you are using now), for better or worse.
John > -----Original Message----- > From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 30, 2002 9:44 AM > To: 'Tomcat Users List' > Subject: RE: (OT) Cannot see Localhost on Apache > > > Well, that is what I'll do - reinstall Apache. > > However, as I said previously, this whole situation arose due > to Apache > not showing the Localhost directory. It was working fine for > over a year > on this PC and I didn't change ANY of the settings or add any hardware > prior to it's not working. > > > -----Original Message----- > From: Turner, John [mailto:[EMAIL PROTECTED]] > Sent: 30 September 2002 14:36 > To: 'Tomcat Users List' > Subject: RE: (OT) Cannot see Localhost on Apache > > > > OK, we're going around in circles. There are a couple of issues here. > > - if ServerName in httpd.conf is 127.0.0.1, then that is what > you put in > the URL > - 127.0.0.1 = localhost, on every computer in the world, it's > a standard > - do you have a hosts file or some other DNS setting that is resolving > jk.mshome.net to 127.0.0.1? > > Basically, things have to match. If jk.mshome.net = 127.0.0.1, then > jk.mshome.net should be your ServerName in httpd.conf. My > advice is to > reinstall Apache, and don't answer _anything_ when asked for hostname, > IP address, or anything else. Let the installer figure that stuff out > on its own. You can't just type hostnames willy-nilly, they have to > resolve correctly for services that are looking for them to work > correctly. > > Since jk.mshome.net does not resolve publicly, either set up > DNS on your > LAN or a local hosts file on your PC to resolve the name. Otherwise, > don't use it anywhere, in any configuration, because it won't work. > > Typing "ping localhost" should return an IP address of 127.0.0.1. > > Typing "ping jk.mshome.net" should return nothing. > > Apache should be set to defaults, across the board (localhost). > > John > > > -----Original Message----- > > From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 30, 2002 9:23 AM > > To: 'Tomcat Users List' > > Subject: RE: (OT) Cannot see Localhost on Apache > > > > > > I've checked the config file and the Server Name is 127.0.0.1, so I > > don't know why it says jk.mshome.net when I try to ping Localhost. > > > > I've attache my config file again. > > > > -----Original Message----- > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > Sent: 30 September 2002 14:15 > > To: 'Tomcat Users List' > > Subject: RE: (OT) Cannot see Localhost on Apache > > > > > > > > OK, that's a problem. I don't have your httpd.conf any more, > > but there > > shouldn't be any hostnames in there whatsoever if all you > are doing is > > accessing localhost. Instead of hostnames, it should say > "localhost". > > > > John > > > > > > > -----Original Message----- > > > From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, September 30, 2002 9:07 AM > > > To: 'Tomcat Users List'; [EMAIL PROTECTED] > > > Subject: RE: (OT) Cannot see Localhost on Apache > > > > > > > > > Raj, > > > > > > I have pinged Localhost and 127.0.0.1 and have got responses. > > > > > > However, I did notice that when I started to ping Localhost > > it began > > > with the message: > > > > > > Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data: > > > > > > jk.mshome.net is/was what I called my site when first installing > > > Apache 1.3.26 - it asks you what you want to call the server, etc > > > when you first install it. I have since changed it to > > > shining-path.com in the Apache config file. > > > > > > Maybe this is a problem?? > > > > > > I have checked the Apache error log and there are no errors > > reported. > > > > > > > > > Geoff > > > > > > -----Original Message----- > > > From: Raj Saini [mailto:[EMAIL PROTECTED]] > > > Sent: 30 September 2002 13:54 > > > To: Tomcat Users List > > > Subject: Re: (OT) Cannot see Localhost on Apache > > > > > > > > > Try there two things on DOS prompt of your PC. > > > > > > ping localhost > > > > > > ping 127.0.0.1 > > > > > > If you receive the ping response, it means you have your network > > > installed properly. If you can not see the ping respone > > there must be > > > some thing wrong with your network settings. > > > > > > You can also have a look on the apache error logs. See if > you apache > > > > is accepting the browser request. > > > > > > Raj > > > > > > Geoffrey Khan wrote: > > > > John, > > > > > > > > I have Zone Alarm installed on my PC and it worked fine > > with Apache > > > > for a long time and I haven't changed any of the settings > > > in this to > > > > prevent Apache from working. I've tried shutting down > Zone Alarm, > > > > starting Apache and going to Localhost but still get a > > blank, white > > > > screen. > > > > > > > > I haven't changed any network settings in any shape or form > > > or added > > > > any kind of hardware. > > > > > > > > I know Apache starts because I have a console window > > running saying > > > > Apache 1.3.26 running whenever I start it up (and it shows > > > up in the > > > > Task Manager list when I do start it). > > > > > > > > Geoff > > > > > > > > > > > > -----Original Message----- > > > > From: Turner, John [mailto:[EMAIL PROTECTED]] > > > > Sent: 30 September 2002 13:26 > > > > To: 'Tomcat Users List' > > > > Subject: RE: (OT) Cannot see Localhost on Apache > > > > > > > > > > > > > > > > Did you install a firewall? Did you change your network > > > settings in > > > > any way, shape or form? Add a cable modem, DSL router, > or other > > > > network hardware? Do you have some sort of virus filter > > running on > > > > port 80? Are you sure Apache even starts? Apache works out > > > of the box > > > > > > > in a default install...there could be any number of other > > > reasons why > > > > it doesn't serve pages, none of them related to the > Apache config > > > > file. > > > > > > > > John > > > > > > > > -----Original Message----- > > > > From: Geoffrey Khan [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, September 30, 2002 7:05 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: (OT) Cannot see Localhost on Apache > > > > > > > > > > > > Hello, > > > > > > > > Sorry for the off topic manner of this email but I am > > > having trouble > > > > with my Apache server and was wondering if anyone on > this list can > > > > > help me? > > > > > > > > For about a year I had Apache 1.3.20 set-up on my Windows > > > 98SE machine > > > > > > > running PHP 4.1.1 (and Coldfusion) on it with no > problems. I would > > > > > type http://localhost/ (or http://127.0.0.1/) in my > > browser and be > > > > able to see the directories with all my files in them and > > edit them > > > > accordingly. > > > > > > > > However, last week I started up Apache and opened a browser > > > and typed > > > > Localhost but nothing happened! All I would get would be a > > > white blank > > > > > > > screen and if I typed in the address of a specific file > within the > > > > > directory I would get a "Pager cannot be displayed" error. > > > > > > > > I tested this in IE, Netscape and Mozilla (along with > clearing the > > > > > cache in each browser) and all of them were the same. > > > > > > > > I decided to uninstall Apache 1.3.20 and upgrade to > > 1.3.26 figuring > > > > that if I started with a newer version of Apache the > > > problem would be > > > > eradicated and I would have a more up-to-date version of > > > the server. > > > > > > > > This I have done, but still I cannot gain access to any > > of my files > > > > and still it gives me a blank white screen if I type > > > Localhost and a > > > > "Page cannot be displayed" error message if I try and > > navigate to a > > > > specific file within the directory. > > > > > > > > I have scanned the Apache web site, trawled through the > > newsgroups, > > > > studied my config file indepth, but cannot see where the > > > problem lies. > > > > > > > > Could someone please take a look at my config file and try > > > to see why > > > > this is happening because as far as I can tell everything > > > is fine and > > > > I haven't changed anything since the last time it worked OK? > > > > > > > > Please disregard the fact that I haven't loaded the PHP > > modules yet > > > > (and Coldfusion as well) as I will do this after I have > > managed to > > > > sort out the Localhost problem. > > > > > > > > Your help would be very much appreciated. > > > > > > > > > > > > Regards, > > > > > > > > > > > > Geoff Khan B.Sc (Hons) > > > > www.shining-path.com > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>