https://bz.apache.org/bugzilla/show_bug.cgi?id=61225

            Bug ID: 61225
           Summary: "!" not working correctly
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Example 1 (from the doc):
<Location "/mirror/foo/">
    ProxyPass "http://backend.example.com/";
</Location>
<Location "/mirror/foo/i">
    ProxyPass "!"
</Location>
GET /mirror/foo/i => not proxied: OK

Example 1 (from the doc):
ProxyPass "/mirror/foo/i" "!"
ProxyPass "/mirror/foo"   "http://backend.example.com";
GET /mirror/foo/i => not proxied: OK

Example 3:
ProxyPass "/mirror/foo/i" "!"
<Location "/mirror/foo/">
    ProxyPass "http://backend.example.com/";
</Location>
GET /mirror/foo/i => proxied: not OK

In example 3, we expect mod_proxy to stop processing anything, right?
In case we don't have to proxy a location, I think we should completely exit
mod_proxy.
Btw, this would also support the following case, which doesn't work for the
moment:
<Location "/mirror/foo/i">
    ProxyPass "!"
</Location>
<Location "/mirror/foo/">
    ProxyPass "http://backend.example.com/";
</Location>

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