[projectaon] Re: Taste of things to come

  • From: "Jonathan Blake" <blake.jon@xxxxxxxxx>
  • To: projectaon@xxxxxxxxxxxxx
  • Date: Fri, 17 Mar 2006 09:01:11 -0800

On 3/17/06, Javier Fernández-Sanguino Peña <jfs@xxxxxxxxxxxx> wrote:
> On Thu, Mar 16, 2006 at 04:16:37PM -0800, Jonathan Blake wrote:
> > http://www.projectaon.org/index-new.htm
> >
> Why not use Content-Negotiation [1] to direct users that have their browser
> properly configured to the most suitable language (but have a generic entry
> point for those that don't have it)?

Excellent suggestion. I'm not familiar with content negotiation, so
after skimming the link provided, this is what I came up with.

1) Possibly add the following to .htaccess:

AddHandler type-map .var

2) Create a file named index.var that reads:

----
URI: en/
Content-language: en

URI: es/
Content-language: es
----

Would this work for what we're trying to do?

--
Jon

Other related posts: