You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Gordan Vosicki <go...@icsa.ch> on 1997/12/16 10:23:14 UTC

mod_mime/1559: Language negotiation requires the language name to follow all the rest.

>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 <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]