Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 92488 invoked from network); 19 Jul 2000 17:19:21 -0000 Received: from systemy.systemy.it (194.20.140.20) by locus.apache.org with SMTP; 19 Jul 2000 17:19:21 -0000 Received: from apache.org (pv31-pri.systemy.it [194.21.255.31]) by systemy.systemy.it (8.8.8/8.8.8) with ESMTP id RAA06474 for ; Wed, 19 Jul 2000 17:19:16 GMT Message-ID: <39758109.87829CFB@apache.org> Date: Wed, 19 Jul 2000 12:20:57 +0200 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en,it MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: C2: Relative URLs in output vs. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Donald Ball wrote: > > On Tue, 18 Jul 2000, Stefano Mazzocchi wrote: > > > why? do people enter your side by typing > > > > http://www.yoursite.com > > yes. > > > or they do directly > > > > http://www.yoursite.com/index.html > > also, yes. > > > Do not underestimate the impact of such decision: using a "default file > > for indexes" is a hack that Apache turned into a design patter. But it's > > still a hack. A pretty big one as well! > > what are you talking about?? default file indexes predate apache and are > quite useful. i hate it when my designers link straight to /index.html, > i've had to beat it into them to link to / instead. That's what I mean: Apache enforced a hack to become the rule. Now people are accustomed to that so much that they believe the two above resources are _necessarely_ the same. But this is not the case. What do you do if the server is a IIS? Do you try http://www.yoursite.com/default.htm And if Cocoon1 you try http://www.yoursite.com/index.xml and so on. So, you _have_ to beat your content writers (designers in Cocoon don't create links!!!) when they link directly to the file instead of the resource. Sure, Cocoon changes the picture so much your content writers will have to be "trained" on this new URI idea, but it's cleaner and safer, so shouldn't be a problem. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com ---------------------