You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2010/11/30 13:00:27 UTC

DO NOT REPLY [Bug 50381] New: should be mentioned, that mod_mime's ModMimeUsePathInfo also applies to "web-space" only files

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


DO NOT REPLY [Bug 50381] should be mentioned, that mod_mime's ModMimeUsePathInfo also applies to "web-space" only files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50381

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-11-30 07:29:32 EST ---
There are some misbobservations here based on how URIs are mapped to files are
mapped by apache, but IMO:

urlmapping.html should talk about how modules transform the URI into a
filename, and that the default mapping stops at the first non-existent path
component.

things like mod_mime that care about the internal filename should reference
urlmapping.html#whatever

modmimeusepathinfo then is not actually a special special case.

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


DO NOT REPLY [Bug 50381] should be mentioned, that mod_mime's ModMimeUsePathInfo also applies to "web-space" only files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50381

Igor Galić <i....@brainsware.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Igor Galić <i....@brainsware.org> 2010-12-01 10:17:50 EST ---
r1041047.

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


DO NOT REPLY [Bug 50381] should be mentioned, that mod_mime's ModMimeUsePathInfo also applies to "web-space" only files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50381

--- Comment #3 from Igor Galić <i....@brainsware.org> 2010-12-01 10:29:52 EST ---
r1041050 fixes a braino in r1041047 and should now fix this bug too.

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