https://issues.apache.org/bugzilla/show_bug.cgi?id=55447
Bug ID: 55447
Summary: make type-maps usable again, by making them accessible
via the (virtual) resource name
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P2
Component: mod_negotiation
Assignee: [email protected]
Reporter: [email protected]
Hi.
In it's current status, type-maps seem to work like the following:
if I have a type map, named foo.var, then browsers MUST access it as foo.var to
get anything done at all (i.e. negotiation).
Accessing the resource as just "foo" (as all the documentation here
https://httpd.apache.org/docs/current/content-negotiation.html and
https://httpd.apache.org/docs/current/mod/mod_negotiation.html seem to imply it
would work) seems to cause nothing but 404 errors... but when accessing
"foo.var" the negotiation kicks in.
This is highly ugly though (and I guess that's one of the tow major reasons,
why type-maps aren't used much), since nobody wants to have all his resource
URIs (and thus links) ending in ".var".
So please make type-maps behave as MultiViews, i.e. if "foo" doesn't exist, but
a foo.<something>, for which type-map is the handler, let it kick in.
Further, it should be possible to have foo.var used by the server for
negotiation, but not served, e.g. I'd like to be able to say something like
<Files ?*.var>
Deny from all
</File>
but still having negotiation work when I access foo (for which foo.var, and
e.g. foo.svg, foo.png, foo.gif) exist.
Cheers,
Chris.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]