Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 82275 invoked from network); 14 Apr 2008 09:06:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 09:06:04 -0000 Received: (qmail 5239 invoked by uid 500); 14 Apr 2008 09:05:55 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 5220 invoked by uid 500); 14 Apr 2008 09:05:55 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 5208 invoked by uid 99); 14 Apr 2008 09:05:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 02:05:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aleksandersen+apache.org@runbox.com designates 193.71.199.94 as permitted sender) Received: from [193.71.199.94] (HELO aibo.runbox.com) (193.71.199.94) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 09:05:02 +0000 Received: from [10.9.9.131] (helo=garm.runbox.com) by greyhound.runbox.com with esmtp (Exim 4.50) id 1JlKcc-0006GT-Vu for users@httpd.apache.org; Mon, 14 Apr 2008 11:05:07 +0200 Received: from mail by garm.runbox.com with local (Exim 4.50) id 1JlKcc-0007Yo-Ut for users@httpd.apache.org; Mon, 14 Apr 2008 11:05:06 +0200 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [62.16.196.191] by secure.runbox.no with http (uid:642103) (RMM 4.0); for ; Mon, 14 Apr 2008 09:05:06 GMT From: "Daniel Aleksandersen" To: users@httpd.apache.org Date: Mon, 14 Apr 2008 11:05:06 +0200 (CEST) X-Sender: 642103 X-Mailer: RMM References: In-Reply-To: Message-Id: X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Why does type-maps rely on MultiViews? On Sun,13 Apr 2008 23:00:19 -0400, Joshua Slive wrote: > On Wed, Apr 9, 2008 at 10:36 PM, Daniel Aleksandersen > wrote: > > Hi list, > > > > Why does type-maps rely on multiviews to be enabled? I can sort of und= erstand why it is required to match [../resource] with [../resource.var]. B= UT as type maps are presented as an alternate to multiviews in the document= ation; I find it strange that it still requires multiviews to work. > > >=20 > They are not required. >=20 > You can either use resource.var directly in your links (in other > words, expose that URL as your public address for the resource) or > change the name of your type-map file to just "resource" and use > SetHandler to mark it as a type-map. Any file without an extension is treated as a type-map. I presume that .hta= ccess is excluded by design? SetHandler type-map 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=3DUTF-8; qs=3D0.8 URI: resource,en,utf-8.xht Content-Type: application/xhtml+xml; charset=3DUTF-8; qs=3D1.0 Or would I have to spesify everything two times? --=20 Daniel Aleksandersen --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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