Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 1913 invoked by uid 6000); 16 Dec 1997 09:30:03 -0000 Received: (qmail 1873 invoked by uid 2001); 16 Dec 1997 09:30:00 -0000 Received: (qmail 1516 invoked by uid 2012); 16 Dec 1997 09:23:14 -0000 Message-Id: <19971216092314.1515.qmail@hyperreal.org> Date: 16 Dec 1997 09:23:14 -0000 From: Gordan Vosicki Reply-To: gordan.vosicki@icsa.ch To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_mime/1559: Language negotiation requires the language name to follow all the rest. Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 1559 >Category: mod_mime >Synopsis: Language negotiation requires the language name to follow all the rest. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: doc-bug >Submitter-Id: apache >Arrival-Date: Tue Dec 16 01:30:00 PST 1997 >Last-Modified: >Originator: gordan.vosicki@icsa.ch >Organization: apache >Release: 1.2.4 >Environment: Linux 2.0.23 / Intel / Slackware distribution >Description: In "Apache: The definitive guide", page 92, it is said that both forms "index.html.en" and "index.en.html" are accepted. After a day's testing work, a short look at the source code showed this can't be true! The only accepted for is "index.html.en". It would be very nice to be able to call the language-dependent files index_en.html, or index.html_en because many authoring tools replace the first dot by an underscore, making it impossible to save a file called index.html.en ! "index.en.html" would also be better than "index.html.en" because this would allow to make direct links to a specific language while keeping the automatic content-type recognition with the ".html" suffix. >How-To-Repeat: Very simply! Just create the files: index.en.html (does not work) index.html.en (works) >Fix: Well probably something to expand in the region of "getword", but I don't know the Apache code well enough to suggest an "intelligent" way of fixing it >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]