httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50373] New: mod_mime clarification regarding files that exist only in the "web-namespace"
Date Mon, 29 Nov 2010 23:35:15 GMT
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: docs@httpd.apache.org
        ReportedBy: calestyo@scientia.net


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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message