<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.5</a></div><div id="page-content"><div id="preamble"><h1>Expressions in Apache HTTP Server</h1>
<div class="toplang">
-<p><span>Available Languages: </span><a href="./en/expr.html" title="English"> en </a> |
+<p><span>Available Languages: </span><a href="./edited/expr.html" hreflang="edited" rel="alternate" title=""> edited </a> |
+<a href="./en/expr.html" title="English"> en </a> |
<a href="./fr/expr.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p>
</div>
are available for versions 2.5.0 and later.</p>
</div></div>
<div class="bottomlang">
-<p><span>Available Languages: </span><a href="./en/expr.html" title="English"> en </a> |
+<p><span>Available Languages: </span><a href="./edited/expr.html" hreflang="edited" rel="alternate" title=""> edited </a> |
+<a href="./en/expr.html" title="English"> en </a> |
<a href="./fr/expr.html" hreflang="fr" rel="alternate" title="Français"> fr </a></p>
</div><div class="top"><a href="#page-header"><img src="./images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
<script type="text/javascript"><!--//--><![CDATA[//><!--
to a single backend:
</p>
- <pre class="prettyprint lang-config">ProxyPass "/" "http://www.example.com"</pre>
+ <pre class="prettyprint lang-config">ProxyPass "/" "http://www.example.com/"</pre>
<p>
directive is most often required:
</p>
- <pre class="prettyprint lang-config">ProxyPass "/" "http://www.example.com"
-ProxyPassReverse "/" "http://www.example.com"</pre>
+ <pre class="prettyprint lang-config">ProxyPass "/" "http://www.example.com/"
+ProxyPassReverse "/" "http://www.example.com/"</pre>
<p>Only specific URIs can be proxied, as shown in this example:</p>
- <pre class="prettyprint lang-config">ProxyPass "/images" "http://www.example.com"
-ProxyPassReverse "/images" "http://www.example.com"</pre>
+ <pre class="prettyprint lang-config">ProxyPass "/images" "http://www.example.com/"
+ProxyPassReverse "/images" "http://www.example.com/"</pre>
<p>In the above, any requests which start with the <code>/images</code>
ProxySet lbmethod=bytraffic
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"</pre>
+ProxyPass "/images/" "balancer://myset/"
+ProxyPassReverse "/images/" "balancer://myset/"</pre>
<p>
ProxySet lbmethod=bytraffic
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"</pre>
+ProxyPass "/images" "balancer://myset/"
+ProxyPassReverse "/images" "balancer://myset/"</pre>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
ProxySet lbmethod=byrequests
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"</pre>
+ProxyPass "/images/" "balancer://myset/"
+ProxyPassReverse "/images/" "balancer://myset/"</pre>
<p>