W3C home > Mailing lists > Public > uri@w3.org > January 2000

RE: Cool URIs & MIME Types

From: Dan Kohn <dan@teledesic.com>
Date: Wed, 5 Jan 2000 08:24:32 -0800
Message-ID: <25D0C66E6D25D311B2AC0008C7913EE0517AE6@tdmail2.teledesic.com>
To: "'Martin J. Duerst'" <duerst@w3.org>
Cc: "'timbl@w3.org'" <timbl@w3.org>, "'uri@w3.org'" <uri@w3.org>, "Fork (E-mail)" <fork@kragen.dnaco.net>
Martin, I think your suggestion is very reasonable, but I don't think it's
the standard way most webservers are configured today.  In Apache, turning
on Multiviews functionality seems to enable what we're looking for:

>The effect of MultiViews is as follows: if the server
>receives a request for /some/dir/foo, if /some/dir has
>MultiViews enabled, and /some/dir/foo does not exist,
>then the server reads the directory looking for files
>named foo.*, and effectively fakes up a type map which
>names all those files, assigning them the same media
>types and content-encodings it would have if the
>client had asked for one of them by name. It then
>chooses the best match to the client's requirements. 

If this is a good way to implement Cool (read: permanent) URLs (and it
appears to be), than I think Tim's document should recommend MultiViews (and
equivalent) by name.  Most web content hosters do not support this feature
today, and customers won't be able to demand it unless they can ask for it
by name.

Of course, since content negotiation is not yet widely supported in
browsers, this will most likely serve HTML and GIFs, but it still achieves
much better URL permanence than /some/dir/foo.html.

		- dan
Daniel Kohn <mailto:dan@dankohn.com>
tel:+1-425-519-7968  fax:+1-425-602-6223

-----Original Message-----
From: Martin J. Duerst [mailto:duerst@w3.org]
Sent: Wednesday, 1999-12-29 00:54
To: Dan Kohn
Cc: 'timbl@w3.org'; 'uri@w3.org'; Fork (E-mail)
Subject: Re: Cool URIs & MIME Types

At 09:49 99/12/28 -0800, Dan Kohn wrote:
> Tim, I was extremely impressed with your essay
> <http://www.w3.org/Provider/Style/URI> about architecting permanent URIs,
> however I think you need to be clear that by removing the file extension,
> you are implicitly suggesting segregating MIME types by directory.  If you
> think every URI should be it's own directory (not a completely crazy
> suggestion), it would be worth making the suggestion explicit.

Hello Dan,

I think you confused something. Leaving out the extension
is not the same as using a directory.

For example, you can have
as files, and serve them both for
choosing the right one depending on content negotiation.

Regards,   Martin.

#-#-#  Martin J. Du"rst, World Wide Web Consortium
#-#-#  mailto:duerst@w3.org   http://www.w3.org
Received on Wednesday, 5 January 2000 11:33:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:01 UTC