Name
ProxyPassReverse
Synopsis
ProxyPassReverse path url
Server config, virtual host
A
reverse proxy is a way to masquerade one server as
another — perhaps because the
“real” server is behind a firewall
or because you want part of a web site to be served by a different
machine but not to look that way. It can also be used to share loads
between several servers — the frontend server simply accepts
requests and forwards them to one of several backend servers. The
optional module mod_rewrite has some special
stuff in it to support this. This directive lets Apache adjust the
URL in the Location
response header. If a
ProxyPass
(or mod_rewrite)
has been used to do reverse proxying, then this directive will
rewrite Location
headers coming back from the
reverse-proxied server so that they look as if they came from
somewhere else (normally this server, of course).
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.