1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>The Apache Tomcat Connector - Using proxies with Tomcat</title><link rel="stylesheet" type="text/css" href="./../style.css"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="4" width="100%" border="0"><!--PAGE HEADER--><tr><td colspan="2"><!--TOMCAT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt="Apache Tomcat" align="left" src="./../images/tomcat.gif"></a><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="http://www.apache.org/images/asf-logo.gif"></a></td></tr><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade="noshade"></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>The Apache Tomcat Connector</h1><h2>Using proxies with Tomcat</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="./../images/void.gif"></td></tr></table><table width="100%" cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Http proxy"><strong>Http proxy</strong></a></font></td></tr><tr><td><blockquote>
<p>
It easy to use the standard Http proxy of Apache when single Tomcat is connected to Apache.
<div class="example"><pre>
<Location /examples/>
ProxyPass http://localhost:8080/examples/
ProxyPassReverse http://localhost:8080/examples/
</Location>
</pre></div>
</p>
</blockquote></td></tr></table><table width="100%" cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="AJP proxy"><strong>AJP proxy</strong></a></font></td></tr><tr><td><blockquote>
<p>
The AJP proxy is a new module based on the standard Http proxy it uses AJP instead of HTTP.
<div class="example"><pre>
<Location /examples/>
ProxyPass ajp://localhost:8009/examples/
</Location>
</pre></div>
</p>
</blockquote></td></tr></table><table width="100%" cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="AJP proxy and proxy balancer"><strong>AJP proxy and proxy balancer</strong></a></font></td></tr><tr><td><blockquote>
<p>
It is possible to use the load balancer of the mod_proxy_balancer module.
<div class="example"><pre>
<Proxy balancer://myCluster>
BalancerMember ajp://localhost:8009
BalancerMember ajp://example.org:8009
</Proxy>
<Location /examples/>
ProxyPass balancer://myCluster/examples/
</Location>
</pre></div>
</p>
</blockquote></td></tr></table><table width="100%" cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Source and Configuration"><strong>Source and Configuration</strong></a></font></td></tr><tr><td><blockquote>
<p>
AJP proxy is integrated in httpd-2.1 and the developement and discussions take
place <a href="http://httpd.apache.org/lists.html">there</a>.
The documentation can be found there
<a href="http://httpd.apache.org/docs-2.1/mod/mod_proxy_ajp.html">mod_proxy_ajp</a>
and
<a href="http://httpd.apache.org/docs-2.1/mod/mod_proxy_balancer.html">mod_proxy_balancer</a>.
</p>
</blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade="noshade"></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em>
Copyright © 1999-2005, Apache Software Foundation
</em></font></div></td></tr></table></body></html>
|