Httpd Proxy: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
=Overview=
=Overview=


Container for directives applied to proxied resources. Directives placed in <Proxy> sections apply only to matching proxied content.  
Container directive for directives applied to proxied resources. Directives placed in <Proxy> sections apply only to matching proxied content.
 
=Matching=
 
A backend URL matches the configuration section of a <Proxy> container directive if it begins with the ''wildcard-url'' string, even if the last path segment in the directive only matches a prefix of the backend URL. For example <Proxy "http://example.com/a"> matches  "http://example.com/a/b". This behavior differs from the behavior of [[httpd Location|<Location>]].


=Syntax=
=Syntax=

Revision as of 03:28, 23 December 2016

External

Internal

Overview

Container directive for directives applied to proxied resources. Directives placed in <Proxy> sections apply only to matching proxied content.

Matching

A backend URL matches the configuration section of a <Proxy> container directive if it begins with the wildcard-url string, even if the last path segment in the directive only matches a prefix of the backend URL. For example <Proxy "http://example.com/a"> matches "http://example.com/a/b". This behavior differs from the behavior of <Location>.

Syntax

<Proxy wildcard-url>
   ...
</Proxy>