Httpd ProxyPass: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 16: | Line 16: | ||
ProxyPass [path] !|url [key=value ...] | ProxyPass [path] !|url [key=value ...] | ||
</pre> | </pre> | ||
=Order= | |||
ProxyPass and ProxyPassMatch rules are checked in the order of configuration, and the first rule match wins. Also see [[Httpd_mod_proxy_Concepts#Worker_Sharing|Worker Sharing]]. |
Revision as of 20:17, 6 December 2016
External
Internal
Overview
The ProxyPass directive maps remote servers into the local server URL-space, by creating a worker that handles the request associated with the declared remote URL. A (more flexible) alternative is the use of RewriteRule with the [P] flag.
Syntax
ProxyPass [path] !|url [key=value ...]
Order
ProxyPass and ProxyPassMatch rules are checked in the order of configuration, and the first rule match wins. Also see Worker Sharing.