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] mod_negotiate and source qualities by type, charset, language, and encoding
Date Thu, 27 Mar 2008 15:41:56 GMT
On Thu, Mar 27, 2008 at 11:14 AM, Daniel Aleksandersen
<aleksandersen+apache.org@runbox.com> wrote:
> Hi,
>
>  I know I can set the source quality (qs) for language negotiation using
>  the "LanguagePriority" option. For example, "LanguagePriority nn nb en".
>  But can I achieve the same on type, charset, and encoding?

Actually, LanguagePriority does not set source quality.
LanguagePriority has an effect only if the client doesn't send
Accept-Language headers or if ForceLanguagePriority is set and Apache
can't determine the best language in any other way.

>
>  I want to set the priority for types like this for all URIs. For
>  example, "TypePriority application/xhtml+xml text/html text/plain". I
>  know I can achieve this on a per URI basis using type maps. But I want a
>  faster way to do it on all files.
>
>  For example, I want to prioritise serving document.utf-8.xhtml.gz over
>  document.iso-8859-15.txt.zip.

As far as I know, there is no way to set source quality in apache
other than through type maps.

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