The following reply was made to PR mod_negotiation/4916; it has been noted by GNATS.
From: Eugen Kuleshov <[EMAIL PROTECTED]> To: Dirk-Willem van Gulik <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: mod_negotiation/4916: Wrong negotiation for DefaultLanguage Date: Sat, 28 Aug 1999 19:09:47 +0400 (MSD) On Fri, 27 Aug 1999, Dirk-Willem van Gulik 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. It is not possible for me. Our web site havee about 300 russian pages and only 20..30 english pages. I can't rename old index.html files. Eugen Kuleshov. -------------------------------------------------------- [EMAIL PROTECTED] Uniland JV