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: [email protected]
        ReportedBy: [email protected]


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

Reply via email to