>Number: 3570 >Category: mod_mime >Synopsis: Multiple AddLanguage with the same file extension may be >confusing >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: doc-bug >Submitter-Id: apache >Arrival-Date: Mon Dec 21 09:10:00 PST 1998 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 >Environment: Any OS >Description: If you have multiple AddLanguage with the same file extension, the LAST one will be used for "reverse" lookups (extension to language mapping), but all of them will be used for "forward" lookups (language to extension). This does not seem to be mentioned in the documentation. It would be very helpful if the default srm.conf had a note added to explain this behaviour. >How-To-Repeat: If someone is not aware of this, she might use AddLanguage en .en AddLanguage en-us .en AddLanguage en-uk .en
Then, the language reported for all documents with the .en ending would be "en-uk". >Fix: Add a note in the default srm.conf.dist and document the behaviour in the mod_mime documentation .../mod/mod_mime.html#addlanguage >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 leave the subject line UNCHANGED. This is not done] [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! ]
