The following reply was made to PR mod_negotiation/4916; it has been noted by 
GNATS.

From: Dirk-Willem van Gulik <[EMAIL PROTECTED]>
To: Eugen Kuleshov <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: mod_negotiation/4916: Wrong negotiation for DefaultLanguage
Date: Fri, 27 Aug 1999 16:57:23 +0200 (CEST)

 On 27 Aug 1999, Eugen Kuleshov wrote:
 
 > 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
 
 This is not a big, but a config isse.
 
 What is happening is that the exact match takes precendece. Just configure
 as
 
        a.html.ru
        a.html.en
 
 And then either
        DefaultLanguage         ru en
        DefaultLanguage         en ru
 
 which will rule when a.html is requested with no ACCEPT languyage set.
 
 Dw
  
 

Reply via email to