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 2012/12/15 21:51:03 UTC

[Bug 54309] New: clarification on the directive when used with proxy request

https://issues.apache.org/bugzilla/show_bug.cgi?id=54309

            Bug ID: 54309
           Summary: clarification on the <Location> directive when used
                    with proxy request
           Product: Apache httpd-2
           Version: 2.4-HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: calestyo@scientia.net
    Classification: Unclassified

Hi.

The documentation of the <Location> directive
(https://httpd.apache.org/docs/trunk/en/mod/core.html#location) tells about how
it changes when used with proxy requests:
"For all origin (non-proxy) requests, the URL to be matched is a URL-path of
the form /path/. No scheme, hostname, port, or query string may be included.
For proxy requests, the URL to be matched is of the form
scheme://servername/path, and you must include the prefix."

I think two things should be clarified here:

1) As far as I can see,... the above does not apply when using a reverse
proxy...
i.e. only with forward proxies, the prefix of schema/domain must be added,
right?


2) Not sure whether this is possible at all:
Can I have a location which apply to both, proxied and non-proxied content? If
so, how is it determined, which Location sections apply?


Cheers,
Chris.

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