Re: [users@httpd] Content Negotiation/Type-Map Question

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

 



On 8/25/05, Christopher Parker <christopher.c.parker@xxxxxxxxx> wrote:
> On 8/24/05, Joshua Slive <jslive@xxxxxxxxx> 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...

No, as far as I know this is not possible.  But as I said, you can
accomplish exactly the same effect in some slightly-more-complicated
ways such as the above suggestion.

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