ProxyPassReverse
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).