You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2016/02/12 13:15:37 UTC
svn commit: r1730005 - /httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml
Author: jim
Date: Fri Feb 12 12:15:37 2016
New Revision: 1730005
URL: http://svn.apache.org/viewvc?rev=1730005&view=rev
Log:
standardize /
Modified:
httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml
Modified: httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml?rev=1730005&r1=1730004&r2=1730005&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml (original)
+++ httpd/httpd/trunk/docs/manual/howto/reverse_proxy.xml Fri Feb 12 12:15:37 2016
@@ -80,7 +80,7 @@
</p>
<highlight language="config">
-ProxyPass "/" "http://www.example.com"
+ProxyPass "/" "http://www.example.com/"
</highlight>
<p>
@@ -91,15 +91,15 @@ ProxyPass "/" "http://www.example.com"
</p>
<highlight language="config">
-ProxyPass "/" "http://www.example.com"
-ProxyPassReverse "/" "http://www.example.com"
+ProxyPass "/" "http://www.example.com/"
+ProxyPassReverse "/" "http://www.example.com/"
</highlight>
<p>Only specific URIs can be proxied, as shown in this example:</p>
<highlight language="config">
-ProxyPass "/images" "http://www.example.com"
-ProxyPassReverse "/images" "http://www.example.com"
+ProxyPass "/images" "http://www.example.com/"
+ProxyPassReverse "/images" "http://www.example.com/"
</highlight>
<p>In the above, any requests which start with the <code>/images</code>
@@ -131,8 +131,8 @@ ProxyPassReverse "/images" "http://www.
ProxySet lbmethod=bytraffic
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"
+ProxyPass "/images/" "balancer://myset/"
+ProxyPassReverse "/images/" "balancer://myset/"
</highlight>
<p>
@@ -172,8 +172,8 @@ ProxyPassReverse "/images" "balancer://
ProxySet lbmethod=bytraffic
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"
+ProxyPass "/images" "balancer://myset/"
+ProxyPassReverse "/images" "balancer://myset/"
</highlight>
</section>
@@ -202,8 +202,8 @@ ProxyPassReverse "/images" "balancer://
ProxySet lbmethod=byrequests
</Proxy>
-ProxyPass "/images" "balancer://myset"
-ProxyPassReverse "/images" "balancer://myset"
+ProxyPass "/images/" "balancer://myset/"
+ProxyPassReverse "/images/" "balancer://myset/"
</highlight>
<p>