Re: Same URL for files and directories?

---------

John M. Wobus (jmwobus@mailbox.syr.edu)
Fri, 31 Mar 1995 09:03:34 -0500


>> Yes, the examples you listed are correct. Some places want you to
>>include a / at the end of a directory URL, but others don't like it (the
>>usual rule seems to be that ftp URL's need it, but http URL's don't.)
>
>The http URL's may not NEED the trailing slash (slant) but it is more
>efficient if it is included. If the slash is not included the httpd
>server adds one and refers the caller to the URL with the slash, which
>means that two network transactions are required for one URL. Put the
>slash on the end.

I naively published URL's for directories without including the final
slash and got complaints from some recipients who told me that the
URL's without the slashes didn't work with their browsers. My own
browser didn't care.

-John Wobus



[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved