Using proxies with Tomcat
|
|
Http proxy |
It easy to use the standard Http proxy of Apache when single Tomcat is connected to Apache.
<Location /examples/>
ProxyPass http://localhost:8080/examples/
ProxyPassReverse http://localhost:8080/examples/
</Location>
AJP proxy |
The AJP proxy is a new module based on the standard Http proxy it uses AJP instead of HTTP.
<Location /examples/>
ProxyPass ajp://localhost:8009/examples/
</Location>
Source and Configuration |
AJP proxy is integrated in httpd-2.1 and the developement and discussions take
place
there
.
More documentation can be found there
mod_proxy_ajp
and
mod_proxy_balancer
.
|