You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Eugen Kuleshov <eu...@uland.com> on 1999/08/27 13:38:35 UTC
mod_negotiation/4916: Wrong negotiation for DefaultLanguage
>Number: 4916
>Category: mod_negotiation
>Synopsis: Wrong negotiation for DefaultLanguage
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Fri Aug 27 04:40:01 PDT 1999
>Last-Modified:
>Originator: eu@uland.com
>Organization:
apache
>Release: 1.3.6
>Environment:
OS/2
>Description:
For exsample:
In config I have:
<DIRECTORY />
DefaultLanguage ru
</DIRECTORY>
I this directory I have files:
a.html
a.html.en
where a.html in Russian and a.html.en in English
Now I have request for document /a.html from web browser who have setted HTTP_ACCEPT_LANGUAGE=en
Apache returns /a.html, not /a.html.en
Thats wrong. I think, if I have setted DefaultLanguage for DIRECTORY thats mean a.html == a.html.ru
But if browser asks for /a - Apache returns correct document - /a.html.en
>How-To-Repeat:
>Fix:
>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 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! ]