You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/03/20 03:44:25 UTC

DO NOT REPLY [Bug 41885] - Can't use type-map handler with MultiViews

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41885>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41885


slive@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|"AddType application/x-type-|Can't use type-map handler
                   |map" Still in Use (Not      |with MultiViews
                   |backwards-compatibility)    |




------- Additional Comments From slive@apache.org  2007-03-19 19:44 -------
Type-maps do indeed work as documented. You are *not* supposed to be combining
type-maps with MultiViews -- they are alternatives (they docs say "This is done
in one of two ways", not "use both of these").  

If you have
AddHandler type-map .var
then you need to request the file including the .var extension.  Check
conf/extra/httpd-manual.conf to see how it is done (where .html is designated as
being a type-map).

When you try to combine MultiViews and type-maps, things get really confusing. I
wouldn't recommend it at all, and the fact that you got it to work using a
backward-compat feature is probably accidental.

But it seems there is some code trying to handle that case, so I'll leave this
bug report open in case anyone is interested in trying to make it work more
predictably.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org