www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordan Vosicki <gordan.vosi...@icsa.ch>
Subject mod_mime/1559: Language negotiation requires the language name to follow all the rest.
Date Tue, 16 Dec 1997 09:23:14 GMT

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




Mime
View raw message