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 50381] New: should be mentioned, that mod_mime's ModMimeUsePathInfo also applies to "web-space" only files
Date Tue, 30 Nov 2010 12:00:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50381

           Summary: should be mentioned, that mod_mime's
                    ModMimeUsePathInfo also applies to "web-space" only
                    files
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
        AssignedTo: docs@httpd.apache.org
        ReportedBy: calestyo@scientia.net


Ok,.. a new try to clearly report what I actually meant in #50373.

mod_mime's directives seems to nearly always apply only to files that
physically exist (i.e. files in the filesystem).
E.g. having
AddEncoding gzip gz
won't have an effect on
<Location /foo/bar.gz>
...
</Location>


But there seems to be one exception, namely when ModMimeUsePathInfo is set to
on.

Having e.g.:

AddEncoding gzip gz
AcceptPathInfo On
<Location /server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from 127.0.0.1 ::1
    ModMimeUsePathInfo On
</Location>


Will add encoding="gzip" if one e.g. accesses /server-status/foo.gz


IMHO that behaviour should be documented for completeness.

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