<p>In addition, if you wish to have caching enabled, consult
the documentation from <code class="module"><a href="../mod/mod_cache.html">mod_cache</a></code>.</p>
+ <div class="example"><h3>Reverse Proxy</h3><p><code>
+ ProxyPass /foo http://foo.example.com/bar<br />
+ ProxyPassReverse /foo http://foo.example.com/bar
+ </code></p></div>
+
<div class="example"><h3>Forward Proxy</h3><p><code>
ProxyRequests On<br />
ProxyVia On<br />
</span>
</Proxy>
</code></p></div>
-
- <div class="example"><h3>Reverse Proxy</h3><p><code>
- ProxyRequests Off<br />
- <br />
- <Proxy *><br />
- <span class="indent">
- Order deny,allow<br />
- Allow from all<br />
- </span>
- </Proxy><br />
- <br />
- ProxyPass /foo http://foo.example.com/bar<br />
- ProxyPassReverse /foo http://foo.example.com/bar
- </code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="access" id="access">Controlling access to your proxy</a></h2>
<p>In addition, if you wish to have caching enabled, consult
the documentation from <module>mod_cache</module>.</p>
+ <example><title>Reverse Proxy</title>
+ ProxyPass /foo http://foo.example.com/bar<br />
+ ProxyPassReverse /foo http://foo.example.com/bar
+ </example>
+
<example><title>Forward Proxy</title>
ProxyRequests On<br />
ProxyVia On<br />
</indent>
</Proxy>
</example>
-
- <example><title>Reverse Proxy</title>
- ProxyRequests Off<br />
- <br />
- <Proxy *><br />
- <indent>
- Order deny,allow<br />
- Allow from all<br />
- </indent>
- </Proxy><br />
- <br />
- ProxyPass /foo http://foo.example.com/bar<br />
- ProxyPassReverse /foo http://foo.example.com/bar
- </example>
</section> <!-- /examples -->