diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2015-08-02 00:19:16 +0200 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2015-08-02 00:19:16 +0200 |
commit | 48802c25dc82a8b13ac351c0c2137ef748256bbd (patch) | |
tree | dcaa03f7f34153303fe5afbc9c99dbb8c44b22b3 /docs/manual/mod/mod_proxy_ajp.html.en | |
parent | 080d5e16db802902200a9ce5b6c40f8f1fdc1f73 (diff) | |
download | apache2-48802c25dc82a8b13ac351c0c2137ef748256bbd.tar.gz |
Imported Upstream version 2.4.16
Diffstat (limited to 'docs/manual/mod/mod_proxy_ajp.html.en')
-rw-r--r-- | docs/manual/mod/mod_proxy_ajp.html.en | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/docs/manual/mod/mod_proxy_ajp.html.en b/docs/manual/mod/mod_proxy_ajp.html.en index d6bb0958..47623740 100644 --- a/docs/manual/mod/mod_proxy_ajp.html.en +++ b/docs/manual/mod/mod_proxy_ajp.html.en @@ -1,6 +1,8 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- +<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head> +<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" /> +<!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX @@ -50,10 +52,7 @@ large.</p> </div> </div> -<div id="quickview"><h3 class="directives">Directives</h3> -<p>This module provides no - directives.</p> -<h3>Topics</h3> +<div id="quickview"><h3>Topics</h3> <ul id="topics"> <li><img alt="" src="../images/down.gif" /> <a href="#usage">Usage</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#env">Environment Variables</a></li> @@ -61,7 +60,10 @@ <li><img alt="" src="../images/down.gif" /> <a href="#basppacketstruct">Basic Packet Structure</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#rpacetstruct">Request Packet Structure</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#resppacketstruct">Response Packet Structure</a></li> -</ul><h3>See also</h3> +</ul><h3 class="directives">Directives</h3> +<p>This module provides no + directives.</p> +<h3>See also</h3> <ul class="seealso"> <li><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code></li> <li><a href="../env.html">Environment Variable documentation</a></li> @@ -73,16 +75,16 @@ (e.g. Apache Tomcat) using the AJP13 protocol. The usage is similar to an HTTP reverse proxy, but uses the <code>ajp://</code> prefix:</p> - <div class="example"><h3>Simple Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass /app ajp://backend.example.com:8009/app</pre> + <div class="example"><h3>Simple Reverse Proxy</h3><pre class="prettyprint lang-config">ProxyPass "/app" "ajp://backend.example.com:8009/app"</pre> </div> <p>Balancers may also be used:</p> - <div class="example"><h3>Balancer Reverse Proxy</h3><pre class="prettyprint lang-config"><Proxy balancer://cluster> - BalancerMember ajp://app1.example.com:8009 loadfactor=1 - BalancerMember ajp://app2.example.com:8009 loadfactor=2 + <div class="example"><h3>Balancer Reverse Proxy</h3><pre class="prettyprint lang-config"><Proxy "balancer://cluster"> + BalancerMember "ajp://app1.example.com:8009" loadfactor=1 + BalancerMember "ajp://app2.example.com:8009" loadfactor=2 ProxySet lbmethod=bytraffic </Proxy> -ProxyPass /app balancer://cluster/app</pre> +ProxyPass "/app" "balancer://cluster/app"</pre> </div> <p>Note that usually no @@ -97,8 +99,8 @@ ProxyPass /app balancer://cluster/app</pre> backend. In this case, a redirect header can be rewritten relative to the original host URL (not the backend <code>ajp://</code> URL), for example:</p> - <div class="example"><h3>Rewriting Proxied Path</h3><pre class="prettyprint lang-config">ProxyPass /apps/foo ajp://backend.example.com:8009/foo -ProxyPassReverse /apps/foo http://www.example.com/foo</pre> + <div class="example"><h3>Rewriting Proxied Path</h3><pre class="prettyprint lang-config">ProxyPass "/apps/foo" "ajp://backend.example.com:8009/foo" +ProxyPassReverse "/apps/foo" "http://www.example.com/foo"</pre> </div> <p>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. |