From: André Malo Date: Wed, 9 Nov 2011 20:34:07 +0000 (+0000) Subject: update transformation X-Git-Tag: 2.2.22~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=851a5db8145fea4144d66b14ccdee32d59442e84;p=thirdparty%2Fapache%2Fhttpd.git update transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1199952 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_ajp.html.en b/docs/manual/mod/mod_proxy_ajp.html.en index bcfb1459288..1760689a417 100644 --- a/docs/manual/mod/mod_proxy_ajp.html.en +++ b/docs/manual/mod/mod_proxy_ajp.html.en @@ -67,13 +67,13 @@

Usage

This module is used to reverse proxy to a backend application server (e.g. Apache Tomcat) using the AJP13 protocol. The usage is similar to - an HTTP reverse proxy, but uses the ajp:// prefix: + an HTTP reverse proxy, but uses the ajp:// prefix:

Simple Reverse Proxy

ProxyPass /app ajp://backend.example.com:8009/app

- Balancers may also be used: +

Balancers may also be used:

Balancer Reverse Proxy

<Proxy balancer://cluster>
@@ -84,22 +84,25 @@ </Proxy>
ProxyPass /app balancer://cluster/app

-

- Note that usually no +

Note that usually no ProxyPassReverse directive is necessary. The AJP request includes the original host header given to the proxy, and the application server can be expected to generate self-referential headers relative to this host, so no rewriting is necessary. -

- The main exception is when the URL path on the proxy differs from that on the +

+ +

The main exception is when the URL path on the proxy differs from that + on the backend. In this case, a redirect header can be rewritten relative to the - original host URL (not the backend ajp:// URL), for example: + original host URL (not the backend ajp:// URL), for + example:

Rewriting Proxied Path

ProxyPass /apps/foo ajp://backend.example.com:8009/foo
ProxyPassReverse /apps/foo http://www.example.com/foo

- However, it is usually better to deploy the application on the backend + +

However, it is usually better to deploy the application on the backend server at the same path as the proxy rather than to take this approach.

top
diff --git a/docs/manual/mod/mod_proxy_ajp.xml.ja b/docs/manual/mod/mod_proxy_ajp.xml.ja index eb4c2c6852d..c4e39b2fc98 100644 --- a/docs/manual/mod/mod_proxy_ajp.xml.ja +++ b/docs/manual/mod/mod_proxy_ajp.xml.ja @@ -1,7 +1,7 @@ - +