>Number: 4472 >Category: mod_negotiation >Synopsis: MultiViews may send sub-optimal file (matching problem) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon May 24 23:30:01 PDT 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.4 >Environment: Linux-2.2.9 >Description: I have two issues with content negotiation and MultiViews: First when I have thew files `index.html' and `index.html.en' with DefaultLanguage set to `de', the following happened: Netscape (4.51)'s language preference had been set to "de-DE", and this did not cause Apache to return the file for language `de'. IMHO matching `de' for `de-DE' is better than matching for `en'. Secondly, it seems that Multiviews does not work when the URL is http://server.domain/, but when it is http://server.domain/index >How-To-Repeat: I think you can reproduce the problem easily. >Fix: The index file should use the MultiView algorithm as well, and matching should prefer a `de' document for any `de-*' language preference over other languages. Same would apply for the other direction. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]