blob: 7ed6a8a3ece9a84a5694d620a8b1ceab32948a0a [file] [log] [blame]
<?xml version="1.0"?>
<document>
<copyright>
Copyright 1999-2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
</copyright>
<properties>
<title>Using proxies with Tomcat</title>
<date>$Date$</date>
</properties>
<section name="Http proxy">
<p>
It easy to use the standard Http proxy of Apache when single Tomcat is connected to Apache.
<source>
&lt;Location /examples/&gt;
ProxyPass http://localhost:8080/examples/
ProxyPassReverse http://localhost:8080/examples/
&lt;/Location&gt;
</source>
</p>
</section>
<section name="Ajp proxy">
<p>
The Ajp proxy is a new module based on the standard Http proxy it uses AJP instead of HTTP.
<source>
&lt;Location /examples/&gt;
ProxyPass ajp://localhost:8009/examples/
&lt;/Location&gt;
</source>
</p>
</section>
</document>