mod_negotiate and source qualities by type, charset, language, and encoding

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

 



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