Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 84613 invoked from network); 8 Dec 2006 17:19:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Dec 2006 17:19:39 -0000 Received: (qmail 76362 invoked by uid 500); 8 Dec 2006 17:19:36 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 76337 invoked by uid 500); 8 Dec 2006 17:19:36 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 76311 invoked by uid 99); 8 Dec 2006 17:19:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 09:19:36 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [12.11.148.122] (HELO relay2.ptc.com) (12.11.148.122) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Dec 2006 09:19:24 -0800 Received: from hq-ex3fe3.ptcnet.ptc.com ([132.253.201.67]) by relay2.ptc.com with ESMTP; 08 Dec 2006 12:19:04 -0500 X-IronPort-AV: i="4.09,515,1157342400"; d="scan'208"; a="178989590:sNHT21897360" Received: from HQ-MAIL4.ptcnet.ptc.com ([132.253.202.96]) by hq-ex3fe3.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 8 Dec 2006 12:17:53 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 8 Dec 2006 12:17:51 -0500 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] Multiviews Problem Thread-Index: Acca6mBnqVnohpldSzG1XuArFTfIUwAASd7w From: "Fenlason, Josh" To: X-OriginalArrivalTime: 08 Dec 2006 17:17:53.0165 (UTC) FILETIME=[CB78E3D0:01C71AEC] X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] Multiviews Problem You're correct. I can manually type in just the language code. I'm not sure I'll be able to require our customers to do that, but thanks for the suggestion. =20 I haven't read the spec myself. According to the spec the server isn't supposed to be allowed to fall back to the language if it doesn't have content specific for the language and country. Is that right? That would seem less than ideal to me, but I'm sure those who wrote the spec are smarter than myself. If that's what it says, then shame on MS for going out of their way to blatantly disobey it. I've had some trouble when I was trying type-maps, but I'll play around some more since I think I understand things a little better. Thanks for the help. , Josh. > -----Original Message----- > From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of=20 > Joshua Slive > Sent: Friday, December 08, 2006 11:00 AM > To: users@httpd.apache.org > Subject: Re: [users@httpd] Multiviews Problem >=20 > On 12/8/06, Fenlason, Josh wrote: > > Sorry I forgot to mention this is with Apache 2.2.3. Thanks for=20 > > suggesting the link, but I've already configured that. I can=20 > > configure Apache to server .de files if the user specifies German=20 > > language and fall back to .en files if nothing better can be=20 > > determined. That works fine. The problem is that with IE7=20 > you can't=20 > > select just de. You have to select de-DE, de-AT, etc. If=20 > the client=20 > > is configured for de-DE, Apache doesn't recognize it because it is=20 > > only configured for de and it falls back to en. In that=20 > case I would=20 > > prefer it to serve de not fall back to en. I suppose this could be=20 > > considered a short coming of IE7 because it doesn't allow=20 > you to specify a language without a country. > > (What are the odds they will fix that though? :)) I know I can=20 > > configure Apache to serve de files when the user specifies de-DE. > > However that wouldn't serve de files when the user=20 > specifies de-AT. =20 > > It would be nice if there was a way to configure Apache to serve de=20 > > files when the user specifies any variation of de. Is that=20 > possible=20 > > with the type-map files? Or am I out of luck? Thanks. >=20 > Although I haven't tried it, I am fairly sure that IE7 does=20 > allow you to select proper language codes. Try typing them=20 > in rather than selecting from the list. >=20 > I just did a quick google, and found this: > http://blogs.msdn.com/ie/archive/2006/10/17/accept-language-he > ader-for-internet-explorer-7.aspx > which, unfortunately, displays a stunning ignorance of the=20 > HTTP standard by specifically counseling server-authors to=20 > violate the standard. It is very clearly stated in the=20 > standard that servers are not allowed to "simply truncat(e)=20 > the code at the first dash". See, in particular the comment=20 > at the bottom from Benjamin Hawkes-Lewis for a full explanation. >=20 > You should file a bug report with Microsoft, because that=20 > decision really sucks. >=20 > Back to your question, yes I believe that type-maps can be=20 > used to map one resource onto many different language codes,=20 > thereby catching the different language subsets. But I've=20 > never tried it. If you get it to work, be sure to report back. >=20 > Joshua. >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org