httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Parker <christopher.c.par...@gmail.com>
Subject Re: [users@httpd] Content Negotiation/Type-Map Question
Date Fri, 26 Aug 2005 00:56:29 GMT
On 8/24/05, Joshua Slive <jslive@gmail.com> wrote:
> Well, if you want apache to select a file whose extension you haven't
> explicitly specified, then you need MultiViews.  Without multiviews,
> apache has no way to find the .var file.
> 
> There are a number of options here.  One is to rename your .var file
> to not have any extension (so that it will directly match the URL
> rather than needing multiviews).  Then use something like
> <FilesMatch ^[^.]+$>
> SetHandler type-map
> </FilesMatch>
> to mark all extension-less files as type-maps.

This information is helpful! However, I guess what I'm trying to say
is that I'd like it if MultiViews defaulted to a type-map before any
other file. The original post I made at
http://www.livejournal.com/community/apache/22990.html really explains
a lot in terms of functionality that I need.

Is there a way to tell MultiViews to default to a type-map if one
exists, and if not, then make up its own type-map? This is how I
thought content negotiation was supposed to work...

-- 
Christopher C. Parker
http://cparker15.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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message