Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id FAA12349; Fri, 22 Aug 1997 05:32:48 -0700 (PDT) Received: from eastwood.aldigital.algroup.co.uk (eastwood.aldigital.algroup.co.uk [194.128.162.193]) by hyperreal.org (8.8.5/8.8.5) with SMTP id FAA12344 for ; Fri, 22 Aug 1997 05:32:44 -0700 (PDT) Received: from freeby.ben.algroup.co.uk (freeby.ben.algroup.co.uk [193.133.15.6]) by eastwood.aldigital.algroup.co.uk (8.6.12/8.6.12) with ESMTP id MAA01346 for ; Fri, 22 Aug 1997 12:32:28 GMT Received: from naughty (naughty.ben.algroup.co.uk [193.133.15.107]) by freeby.ben.algroup.co.uk (8.6.12/8.6.12) with ESMTP id NAA21368 for ; Fri, 22 Aug 1997 13:32:13 +0100 Message-ID: <33FD86C3.ABBF8A4A@algroup.co.uk> Date: Fri, 22 Aug 1997 13:32:03 +0100 From: Ben Laurie Organization: A.L. Digital Ltd. X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: new-httpd@apache.org Subject: Re: Spaces in Win32 executable names X-Priority: 3 (Normal) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org Paul Sutton wrote: > > On Fri, 22 Aug 1997, Ben Laurie wrote: > > > I wonder if trying to expand filenames is really the right thing to do. > > > Couldn't we just convert all filenames to short form and *always* work > > > internally with the short form? So the first stage of parsing > > ...>, ScriptAlias ... etc is to munge the filename or path to a short > > > form. And when a request URI is transformed to a filename also convert it > > > to a short form. > > > > I think this is a bad idea, coz it requires people to write regexes for > > the short form. > > Oh buggrit. But does this mean that short form names will *not* match > regexes? Errr ... not sure what you are asking, so I'll try to cover all the bases. Since things have two names under Win32, we can choose at least four different routes: 1. Match against both names, either matching counts as a match 2. Match against both names, both matching counts as a match 3. Match against the short name 4. Match against the long name 1, well, I'm not so keen. 2 is clearly silly. 3 is OK. 4 is better. IMO. Currently, we do 4 (or we try to). Cheers, Ben. -- Ben Laurie |Phone: +44 (181) 994 6435|Apache Group member Freelance Consultant |Fax: +44 (181) 994 6472|http://www.apache.org and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author A.L. Digital Ltd, |http://www.algroup.co.uk/Apache-SSL London, England. |"Apache: TDG" http://www.ora.com/catalog/apache