]> granicus.if.org Git - apache/commitdiff
Merge r1560683 and r1581011 from trunk:
authorTakashi Sato <takashi@apache.org>
Thu, 29 May 2014 12:55:59 +0000 (12:55 +0000)
committerTakashi Sato <takashi@apache.org>
Thu, 29 May 2014 12:55:59 +0000 (12:55 +0000)
(mod/mod_proxy_express.xml)
It does more than just a ProxyPass, but also looks at the HOST header,
so this gives somewhat deeper insight into what the end result looks
like.

(mod/mod_proxy_connect.xml)
a comma leaked onto the page

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1598284 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_connect.xml
docs/manual/mod/mod_proxy_express.xml

index a6837a794ca998964a63358053149ef641a630c4..01761f2cef316279f2fb66657770db8576b3c402 100644 (file)
@@ -39,7 +39,7 @@
     requests, <module>mod_proxy</module> and
     <module>mod_proxy_connect</module> have to be present in the server.</p>
 
-    <p>CONNECT is also used, when the server needs to send an HTTPS request
+    <p>CONNECT is also used when the server needs to send an HTTPS request
     through a forward proxy. In this case the server acts as a CONNECT client.
     This functionality is part of <module>mod_proxy</module> and
     <module>mod_proxy_connect</module> is not needed in this case.</p>
index 0119a2eca34cea9ecfccadef780f6fd1010e78e1..2d8d44086db675f6f802194dd8f20d8f04069f31 100644 (file)
     <li>It does not support regex or pattern matching at all.
     </li>
     <li>It emulates:
-      <example>
-        ProxyPass / backend.server:port<br />
-        ProxyPassReverse / backend.server:port<br />
-      </example>
+      <highlight language="config">
+&lt;VirtualHost *:80&gt;
+   ServerName front.end.server
+   ProxyPass / back.end.server:port
+   ProxyPassReverse / back.end.server:port
+&lt;/VirtualHost&gt;
+      </highlight>
       That is, the entire URL is appended to the mapped backend
       URL. This is in keeping with the intent of being a simple
       but fast reverse proxy switch.