[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] RFC: Index file search order
From: |
John Clizbe |
Subject: |
Re: [Sks-devel] RFC: Index file search order |
Date: |
Fri, 13 Apr 2012 02:10:17 -0500 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.20pre) Gecko/20110606 Mnenhy/0.8.5 SeaMonkey/2.0.15pre |
Phil Pennock wrote:
> On 2012-04-12 at 18:02 -0500, John Clizbe wrote:
>> Presently, I have the search order as the list:
>> [ "index.html"; "index.htm"; "index.shtml"; "index.xhtml";
>> "index.xhtm"; "index.xml"; ]
>> if none of these are found "index.html" will be returned so to have a
>> meaningful error message.
>>
>> Does this seem reasonable?
>> Should any additions or deletions be made to the list?
>
> "index.shtml" should probably go: that's for server-side includes, as
> processed by Apache and some other servers. The <!--#something -->
> stuff, a bit like PHP or other inline scripting markup systems.
Easy enough. Gone.
> AFAIK, the others are all typically static content safe to be served
> as-is (even if some systems do handle transforms on .xml).
>
> Some of those are supposed to have MIME types other than text/html.
see dbserver.ml around line 400. The .shtml line will be removed in the next
commit.
Thanks, Phil.
-John
--
John P. Clizbe Inet: John (a) Gingerbear DAWT net
John (@) Enigmail DAWT net or: John (@) Keyservers DAWT net
FSF Assoc #995 / FSFE Fellow #1797 hkp://keyserver.gingerbear.net or
mailto:address@hidden
Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"