httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Aleksandersen" <>
Subject Re: [users@httpd] Comma and semicolon parameters for content negotiation
Date Wed, 09 Apr 2008 12:19:10 GMT
Tue, 8 Apr 2008 14:18:45 -0400, Joshua Slive:
> On Tue, Apr 8, 2008 at 10:05 AM, Daniel Aleksandersen
> <> wrote:
> > Hi,
> >
> >  Inspired by
and I want to
use commas and semicolons for content negotiation with mod_negotiatate.
> >
> >  mod_negotiate only support file extension based negotiation. Meaning it only understands
to negotiate between [../resource.en.utf-8.html] and [../] when
requesting [../resource].
> >
> No, MultiViews only does extension-based negotiation. With type-maps
> you can use whatever names you want. See:

Sorry for using the wrong terminology. Thanks for clarifying. :-) What I want is ideally to
use commas instead of dots with the multiviews option.

> >  Ideally, what I envission is something like this: [../resource,en] that would be
mapped to ../resource.en.utf-8.html].
> >
> >  More details on a permanent fix for this:
> >
> >
> >  Anyhow, I want to use this today. So how can I start using comma separated options
in URIs today when mod_negotiate only supports dot separated options/extensions? Some clever
> You can do this with type-maps or with mod_rewrite (although with the
> latter, you may need to do your own interpretation of the Accept-
> headers).

Would I have to create multiple type-maps, or can I spesify more resourses in one map? For
example, would I have to have both [../resource.var] spesifying that the English version is
at [../resource,en.var] and then have a map at [../resource,en.var] saying about the same
thing? (I do negotiation for format, language, charset, and compression.)

> By the way, I think your bug report is off base. The actual name of
> the file on the file-system is irrelevant for the client.

No, it is just a different approtch to multiviews.
Daniel Aleksandersen

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message