httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject svn commit: r931689 - in /httpd/httpd/trunk/docs/manual/mod: mod_proxy.html.en mod_proxy.xml
Date Wed, 07 Apr 2010 21:14:49 GMT
Author: igalic
Date: Wed Apr  7 21:14:48 2010
New Revision: 931689

URL: http://svn.apache.org/viewvc?rev=931689&view=rev
Log:
Clarifying/Simplifying the Proxy examples.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_proxy.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy.html.en?rev=931689&r1=931688&r2=931689&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy.html.en Wed Apr  7 21:14:48 2010
@@ -167,6 +167,11 @@
     <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 />
@@ -179,20 +184,6 @@
     </span>
     &lt;/Proxy&gt;
     </code></p></div>
-
-    <div class="example"><h3>Reverse Proxy</h3><p><code>
-    ProxyRequests Off<br />
-    <br />
-    &lt;Proxy *&gt;<br />
-    <span class="indent">
-      Order deny,allow<br />
-      Allow from all<br />
-    </span>
-    &lt;/Proxy&gt;<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>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml?rev=931689&r1=931688&r2=931689&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml Wed Apr  7 21:14:48 2010
@@ -128,6 +128,11 @@
     <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 />
@@ -140,20 +145,6 @@
     </indent>
     &lt;/Proxy&gt;
     </example>
-
-    <example><title>Reverse Proxy</title>
-    ProxyRequests Off<br />
-    <br />
-    &lt;Proxy *&gt;<br />
-    <indent>
-      Order deny,allow<br />
-      Allow from all<br />
-    </indent>
-    &lt;/Proxy&gt;<br />
-    <br />
-    ProxyPass /foo http://foo.example.com/bar<br />
-    ProxyPassReverse /foo http://foo.example.com/bar
-    </example>
     </section> <!-- /examples -->
 
 



Mime
View raw message