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





------- Additional Comments From [EMAIL PROTECTED]  2007-03-19 20:53 -------
(In reply to comment #4)
> 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").

    Yes, I'm not supposed to do so.  I don't know that I have to do so in order
to get the documented example working after several days of trying.

    Please understand that I classify this as a "bug in the documentation". 
Since I have looked into the code, I do understand its logic.

    The last sentence in the second paragraph under the heading "Using a
type-map file" says:

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

    "This file would be named foo.var, as it describes a resource named foo."

    In an earlier paragraph "About Content Negotiation", the first sentence of
the last paragraph:

http://httpd.apache.org/docs/2.2/content-negotiation.html#about

    "A resource is a conceptual entity identified by a URI (RFC 2396)."

    As for "a resource named foo", what's wrong if I request for foo?  Am I
supposed to request "foo.var" for "a resource named foo"?

    Also, the second paragraph under "Using a type-map file":

    "It is conventional to begin a map file with an entry for the combined
entity as a whole (although this is not required, and if present will be 
ignored)."

    I suppose this means the first line "URI: foo" in the example.  So I request
the "combined entity", the "foo".  What's wrong with this anyway?  If there is
no such combined entity "foo", why does it say so?  If foo.var is describing a
resource named foo.var, shouldn't it be documented this way?

> 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).

    Actually, it is the first thing I checked, even before I read the
documentation, in order to get our local documentation copy working.

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

    Please fix this in the documentation.  I would not like to see another one
wasting so much time on this.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to