httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Aleksandersen <aleksandersen+apache....@runbox.com>
Subject [users@httpd] mod_negotiate and source qualities by type, charset, language, and encoding
Date Thu, 27 Mar 2008 16:11:58 GMT
On 2008-03-27, Joshua Slive wrote:
> On Thu, Mar 27, 2008 at 11:14 AM, Daniel Aleksandersen 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.

Is there a way to set global type maps?
-- 
Daniel Aleksandersen

---------------------------------------------------------------------
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