OK, i think i have a handle on this one now guys. I believe what our problem is as someone said a hostname problem of some sort. Ill put out what ive seen newbie style and someone who knows linux can explain it to all of us. By default install my hosts file was as such:
127.0.0.1 ns2 localhost.localdomain localhost this is a a ns2 server as well as www server, during install it asked me my hostname i told it, it added it to 127.0.0.1 and ignored my ethernet addrees (grumbles at redhat, this is a problem with your install program no?) anyway, sometime down the line i noticed this hosts file and thought, that just aint right so i changed it to 127.0.0.1 localhost.localdomain localhost 1.1.1.1 ns2 ns2.mydomain.com in my httpd.conf file the servername has untill tonight said ServerName www.mydomain.com which is not the case in reverse DNS so i changed it to ns2.mydomain.com (im slowly making things "correct") or atleast i think i am.. This whole trailing slash thing came to me when someone said why doesnt this page work www.my.com/~eddie well someone told me that apache had recently made you put a trailing slash on dirs for some security problem, i said fine and excepted it. so i just went to my web server tonight and ill be DAMNED if it works fine now with no trailing /'s.. and try as i might i cant seem to break it. i #'d out the servername in my httpd.conf i changed my hosts file to what i thought it was i even REALY made it wrong. i think i somehow fixed my problem but now im going to have to find out what i did to fix it. the ONLY THING it could be is in the hosts file and httpd.conf the one servername directive..i KNOW i have changed nothing else. as someone said before it looks like a hostname/dns kind of a problem. im realy upset that it now works and i dont know why.. just you just hate accidentally fixing something and not know how you did it? hehe.. Jim. PS* If anyone knows how i fixed my having to put trailing /'s on URLs i would like to know, k? ;) ----- Original Message ----- From: "Gordon Messmer" <[EMAIL PROTECTED]> To: "dave brett" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 07, 2001 4:45 PM Subject: Re: RedHat 8.0 beta > David~ > > Your server is probably configured incorrectly, similarly to Jim's. > > If you're looking for evidence of the problem, don't expect IE to hand it > to you. Install ngrep or ethereal on the web server, and use it to watch > the traffic on port 80. I expect that you will see a conversation like > this: > > IE -> server > Host: server > GET /documents > > server -> IE > 301 Moved > Location: http://localhost.localdomain/documents/ > > The web server has told the client where to get the "documents" resource, > but IE can't follow the instructions given, because they're wrong. > > Your web server must know its local host name. When you aren't doing > name based virutal hosts, then you pretty much always have to set > ServerName in /etc/httpd/conf/httpd.conf > > On Fri, 7 Dec 2001, dave brett wrote: > > > Hi Gordon > > > > I tried out of curiosity. It didn't work for me. The server is a rh 6.2 > > running the standard apache server with nothing extra added. The browser > > was MS Internet explorer 5. > > > > http://server/documents ---> gets page cannot be displayed > > http://server/documnets/ ---> gets the directory listing > > > > david > > > > > > > > On Thu, 6 Dec 2001, Gordon Messmer wrote: > > > > > On Fri, 7 Dec 2001, Jim Bija wrote: > > > > > > > Untill redhat 7.2 they never had to add the trailing slash. Please explain. > > > > > > When the server is configured correctly, it redirects the browser to the > > > correct URL. If a URL resolves to a directory, then it must end in a > > > slash to be valid. Therefore, when the browser asks for ~jim, the server > > > replies: "No, ask for ~jim/ and I'll think about it." The browser does. > > > > > > Try this on any functioning web site. Point your browser at a dir without > > > a trailing slash, and notice that the URL changes before the page > > > displays. That's not browser magic... that's the server putting the > > > browser in its place. :) > > > > > > > >From what you said it would appear that ALL redhat distros would make you > > > > add the trailing slash, that is not true in my experience from 5.2 to 7.1. > > > > > > No, all Red Hat distro's apache requires a trailing slash on URL's that > > > resolve to directories. They don't, however, "make you add" it. The > > > server adds it when you are wrong. > > > > > > I'm almost certain that the problem you are having is that the server > > > thinks its hostname is localhost.localdomain, and your browser can't load > > > the URL given as a 301. Fix this by setting "ServerName" in > > > /etc/httpd/conf/httpd.conf > > > > > > -- > > > If I had a dollar for every brain that you don't have, > > > I'd have one dollar. - Squidward to SpongeBob > > > > > > > > > > > > _______________________________________________ > > > Redhat-list mailing list > > > [EMAIL PROTECTED] > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > > > > -- > If I had a dollar for every brain that you don't have, > I'd have one dollar. - Squidward to SpongeBob > > > > _______________________________________________ > Redhat-list mailing list > [EMAIL PROTECTED] > https://listman.redhat.com/mailman/listinfo/redhat-list _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list