https://issues.apache.org/bugzilla/show_bug.cgi?id=50373
Summary: mod_mime clarification regarding files that exist only
in the "web-namespace"
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Documentation
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi.
My I suggest to clarify a bit that mod_mime does not only set
types/charsets/encodings/etc. for phsyical files in the filesystems of the OS,
but also virtual ones that exist only in the "web-namespace", meaning such
which are e.g. defined via <Location> (and perhaps other ways like
Alias/Redirect, too??).
This is especially also true (and should perhaps be mentioned there in
addition) for the ModMimeUsePathInfo directive:
e.g. having the typical mod_status definition:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1 ::1
</Location>
while also allowing setting:
AcceptPathInfo On
<Location />
ModMimeUsePathInfo On
<Location>
would mean that a request to host/server-status/foo.zip gets application/zip
Although. there is not a physically existing file with any extension at all.
Cheers,
Chris
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]