Why does type-maps rely on MultiViews?

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

 



On Mon, 14 Apr 2008 07:50:47, Joshua Slive wrote:
> On Mon, Apr 14, 2008 at 5:05 AM, Daniel Aleksandersen wrote:
> >  Another question, can I partaly negotiate between various type-maps? Say I have one type-map called [../resource] saying:
> >  URI: resource,en
> >  Content-Language: en
> >
> >  And then [../resource,en] saying:
> >  URI: resource,en,utf-8.htm
> >  Content-Type: text/html; charset=UTF-8; qs=0.8
> >  URI: resource,en,utf-8.xht
> >  Content-Type: application/xhtml+xml; charset=UTF-8; qs=1.0
> >
> >  Or would I have to spesify everything two times?
> 
> I'm not sure about that one. It should be easy enough to test.

I have to specify every variant in every type-map. Apache’s respons to the above scenario was:

> Not Acceptable
> An appropriate representation of the requested resource /test/resource could not be found on this server.  Available variants:
> resource , language en
> resource , language de
-- 
Daniel Aleksandersen – http://www.opensourcenotebook.com/

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