Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 75155 invoked from network); 26 Jul 2004 13:51:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jul 2004 13:51:45 -0000 Received: (qmail 99232 invoked by uid 500); 26 Jul 2004 13:51:37 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 99179 invoked by uid 500); 26 Jul 2004 13:51:37 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 99164 invoked by uid 99); 26 Jul 2004 13:51:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [144.173.6.26] (HELO mercury.ex.ac.uk) (144.173.6.26) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 26 Jul 2004 06:51:32 -0700 Received: from [144.173.228.5] (helo=phobos) by mercury.ex.ac.uk with esmtp (Exim 4.34) id 1Bp5sz-01pJh9-Jp for dev@httpd.apache.org; Mon, 26 Jul 2004 14:51:25 +0100 Received: from kenny ([144.173.228.126] helo=kenny.ex.ac.uk ident=rowe) by phobos with esmtp (Exim 4.24) id 1Bp5sz-0006js-Bt for dev@httpd.apache.org; Mon, 26 Jul 2004 14:51:25 +0100 Subject: Re: Please define "canonicalize" in httpd.h From: John Rowe To: dev@httpd.apache.org In-Reply-To: <41017F44.3080006@stason.org> References: <41017F44.3080006@stason.org> Content-Type: text/plain Message-Id: <1090849885.566.54.camel@kenny> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Mon, 26 Jul 2004 14:51:25 +0100 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > Please define "canonicalize" If the same thing can be referred to by a number of different names and the convention is that one is the "one true", or canonical, name and the others are mere aliases then canonicalisation (or canonicalization for a non-Brit) is the process of translating a name into the canonical name of that object. Of course this assumes that no two objects can have the same name. In the context of case-insensitive file systems, it's often the case that a file is given the canonical name that it was created with ("MyFile") with all other capitalisations ("myfile", "myfilE") being alternative names for the same filename. Of course, the situation is complicated not only by symlinks but also that in unix the same file can have many filenames. The normal canonicalisation for a file, as opposed to filename, is (device, inode number) but that's not always very useful: for security reasons you can't actually open a file from its device and inode number. John