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 > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list