httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] [newbie] Question about 406, content negotiation and "no language"
Date Sat, 01 Feb 2003 18:22:42 GMT

On Sat, 1 Feb 2003, Individual . . wrote:
> If this post is generally considered to be too basic, I will be happy
> to try it on another list, perhaps more oriented towards beginners,
> that may be suggested to me.

This is the right list.

> My question is this: will I have to make many, many new files
> containing the default language for the site, and call them
> foo.html.html? Or is there a better way to let users who have set their
> browsers to be french-exclusive, for example, get the right page, and
> not a 406 error?

You can use symlinks or other tricks to prevent having to duplicate the
files.  But the real cure is to upgrade to Apache 2.0, which
has the ForceLanguagePriority directive to address just this problem:
http://httpd.apache.org/docs-2.0/content-negotiation.html#better

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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message