On 8/24/05, Christopher Parker <[EMAIL PROTECTED]> wrote:
> I'd like to know if there's a way to make type-maps and the MultiViews
> option work side-by-side. I'd like to utilize both within the same
> directory. Right now, the only way I can access a resource via
> type-map is by specifying the .var extension in the URL, even though
> ".var" isn't part of the resource name. If I don't specify the .var
> extension in the URL, then MultiViews takes over.

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.

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]

Reply via email to