RE: Multiviews Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In order to use type-maps to server de* with .de file do I have to spell
out all the de-<country> variations in the Content-language directive?
Or is there a way to do this more dynamically?  Thanks.
,
Josh. 

> -----Original Message-----
> From: Fenlason, Josh 
> Sent: Friday, December 08, 2006 11:18 AM
> To: 'users@xxxxxxxxxxxxxxxx'
> Subject: RE:  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.  
> 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@xxxxxxxxx [mailto:jslive@xxxxxxxxx] On Behalf 
> Of Joshua 
> > Slive
> > Sent: Friday, December 08, 2006 11:00 AM
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: Re:  Multiviews Problem
> > 
> > On 12/8/06, Fenlason, Josh <jfenlason@xxxxxxx> wrote:
> > > Sorry I forgot to mention this is with Apache 2.2.3.  Thanks for 
> > > suggesting the link, but I've already configured that.  I can 
> > > configure Apache to server .de files if the user specifies German 
> > > language and fall back to .en files if nothing better can be 
> > > determined.  That works fine.  The problem is that with IE7
> > you can't
> > > select just de.  You have to select de-DE, de-AT, etc.  If
> > the client
> > > is configured for de-DE, Apache doesn't recognize it 
> because it is 
> > > only configured for de and it falls back to en.  In that
> > case I would
> > > prefer it to serve de not fall back to en.  I suppose 
> this could be 
> > > considered a short coming of IE7 because it doesn't allow
> > you to specify a language without a country.
> > > (What are the odds they will fix that though? :))  I know I can 
> > > configure Apache to serve de files when the user specifies de-DE.
> > > However that wouldn't serve de files when the user
> > specifies de-AT.  
> > > It would be nice if there was a way to configure Apache 
> to serve de 
> > > files when the user specifies any variation of de.  Is that
> > possible
> > > with the type-map files?  Or am I out of luck?  Thanks.
> > 
> > Although I haven't tried it, I am fairly sure that IE7 does 
> allow you 
> > to select proper language codes.  Try typing them in rather than 
> > selecting from the list.
> > 
> > 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 HTTP 
> > standard by specifically counseling server-authors to violate the 
> > standard.  It is very clearly stated in the standard that 
> servers are 
> > not allowed to "simply truncat(e) the code at the first 
> dash".  See, 
> > in particular the comment at the bottom from Benjamin 
> Hawkes-Lewis for 
> > a full explanation.
> > 
> > You should file a bug report with Microsoft, because that decision 
> > really sucks.
> > 
> > Back to your question, yes I believe that type-maps can be 
> used to map 
> > one resource onto many different language codes, thereby 
> catching the 
> > different language subsets.  But I've never tried it.  If 
> you get it 
> > to work, be sure to report back.
> > 
> > Joshua.
> > 
> > 
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server 
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> > 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux