From: Joshua Slive Date: Fri, 7 Mar 2008 17:59:01 +0000 (+0000) Subject: Merge r634760 from trunk: X-Git-Tag: 2.2.9~314 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec63b6afd19af3aa07448d244fad1920f195f5bf;p=thirdparty%2Fapache%2Fhttpd.git Merge r634760 from trunk: Note that reverse proxy means gateway in a few places. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@634765 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index a4b9f954e97..a2eeaed1b1d 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -91,7 +91,8 @@

Topics

top
-

Forward and Reverse Proxies

+

Forward Proxies and Reverse + Proxies/Gateways

Apache can be configured in both a forward and - reverse proxy mode.

+ reverse proxy (also known as gateway) mode.

An ordinary forward proxy is an intermediate server that sits between the client and the origin @@ -135,13 +137,13 @@ authorized clients can access the proxy before activating a forward proxy.

-

A reverse proxy, by contrast, appears to the - client just like an ordinary web server. No special - configuration on the client is necessary. The client makes - ordinary requests for content in the name-space of the reverse - proxy. The reverse proxy then decides where to send those - requests, and returns the content as if it was itself the - origin.

+

A reverse proxy (or gateway), by + contrast, appears to the client just like an ordinary web + server. No special configuration on the client is necessary. + The client makes ordinary requests for content in the name-space + of the reverse proxy. The reverse proxy then decides where to + send those requests, and returns the content as if it was itself + the origin.

A typical usage of a reverse proxy is to provide Internet users access to a server that is behind a firewall. Reverse @@ -733,12 +735,13 @@ through Status:Extension Module:mod_proxy -

This directive allows remote servers to be mapped into the space of - the local server; the local server does not act as a proxy in the - conventional sense, but appears to be a mirror of the remote - server. path is the name of a local virtual path; url - is a partial URL for the remote server and cannot include a query - string.

+

This directive allows remote servers to be mapped into the + space of the local server; the local server does not act as a + proxy in the conventional sense, but appears to be a mirror of the + remote server. The local server is often called a reverse + proxy or gateway. The path is the name of + a local virtual path; url is a partial URL for the + remote server and cannot include a query string.

The ProxyRequests directive should usually be set off when using @@ -1051,10 +1054,11 @@ proxied server Module:mod_proxy

This directive lets Apache adjust the URL in the Location, - Content-Location and URI headers on HTTP redirect - responses. This is essential when Apache is used as a reverse proxy to avoid - by-passing the reverse proxy because of HTTP redirects on the backend - servers which stay behind the reverse proxy.

+ Content-Location and URI headers on HTTP + redirect responses. This is essential when Apache is used as a + reverse proxy (or gateway) to avoid by-passing the reverse proxy + because of HTTP redirects on the backend servers which stay behind + the reverse proxy.

Only the HTTP response headers specifically mentioned above will be rewritten. Apache will not rewrite other response @@ -1243,7 +1247,8 @@ expressions server. (Setting ProxyRequests to Off does not disable use of the ProxyPass directive.)

-

In a typical reverse proxy configuration, this option should be set to +

In a typical reverse proxy or gateway configuration, this + option should be set to Off.

In order to get the functionality of proxying HTTP or FTP sites, you @@ -1255,6 +1260,10 @@ expressions both to your network and to the Internet at large.

+

See also

+
top

ProxySet Directive

diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index 0e1ed9bbc1c..a733d0e8144 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -68,9 +68,10 @@ mod_proxy_balancer mod_ssl -
Forward and Reverse Proxies +
Forward Proxies and Reverse + Proxies/Gateways

Apache can be configured in both a forward and - reverse proxy mode.

+ reverse proxy (also known as gateway) mode.

An ordinary forward proxy is an intermediate server that sits between the client and the origin @@ -94,13 +95,13 @@ authorized clients can access the proxy before activating a forward proxy.

-

A reverse proxy, by contrast, appears to the - client just like an ordinary web server. No special - configuration on the client is necessary. The client makes - ordinary requests for content in the name-space of the reverse - proxy. The reverse proxy then decides where to send those - requests, and returns the content as if it was itself the - origin.

+

A reverse proxy (or gateway), by + contrast, appears to the client just like an ordinary web + server. No special configuration on the client is necessary. + The client makes ordinary requests for content in the name-space + of the reverse proxy. The reverse proxy then decides where to + send those requests, and returns the content as if it was itself + the origin.

A typical usage of a reverse proxy is to provide Internet users access to a server that is behind a firewall. Reverse @@ -436,7 +437,8 @@ request server. (Setting ProxyRequests to Off does not disable use of the ProxyPass directive.)

-

In a typical reverse proxy configuration, this option should be set to +

In a typical reverse proxy or gateway configuration, this + option should be set to Off.

In order to get the functionality of proxying HTTP or FTP sites, you @@ -450,6 +452,7 @@ request both to your network and to the Internet at large.

+Forward and Reverse Proxies/Gateways @@ -570,12 +573,13 @@ expressions -

This directive allows remote servers to be mapped into the space of - the local server; the local server does not act as a proxy in the - conventional sense, but appears to be a mirror of the remote - server. path is the name of a local virtual path; url - is a partial URL for the remote server and cannot include a query - string.

+

This directive allows remote servers to be mapped into the + space of the local server; the local server does not act as a + proxy in the conventional sense, but appears to be a mirror of the + remote server. The local server is often called a reverse + proxy or gateway. The path is the name of + a local virtual path; url is a partial URL for the + remote server and cannot include a query string.

The ProxyRequests directive should @@ -893,10 +897,11 @@ proxied server

This directive lets Apache adjust the URL in the Location, - Content-Location and URI headers on HTTP redirect - responses. This is essential when Apache is used as a reverse proxy to avoid - by-passing the reverse proxy because of HTTP redirects on the backend - servers which stay behind the reverse proxy.

+ Content-Location and URI headers on HTTP + redirect responses. This is essential when Apache is used as a + reverse proxy (or gateway) to avoid by-passing the reverse proxy + because of HTTP redirects on the backend servers which stay behind + the reverse proxy.

Only the HTTP response headers specifically mentioned above will be rewritten. Apache will not rewrite other response