On Tue, Apr 8, 2008 at 10:05 AM, Daniel Aleksandersen <[EMAIL PROTECTED]> wrote: > Hi, > > Inspired by > http://h3h.net/2007/01/designing-urls-for-multilingual-web-sites/#method-07 > and > http://h3h.net/2007/01/designing-urls-for-multilingual-web-sites/#method-08 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 > [../resource.de.iso-8859-15.xhtml] when requesting [../resource]. >
No, MultiViews only does extension-based negotiation. With type-maps you can use whatever names you want. See: http://httpd.apache.org/docs/2.2/content-negotiation.html#negotiation > 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: > https://issues.apache.org/bugzilla/show_bug.cgi?id=44779 > > 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 rewrite? You can do this with type-maps or with mod_rewrite (although with the latter, you may need to do y9our own interpretation of the Accept- headers). 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. 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]