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 2014/01/22 17:42:11 UTC

svn commit: r1560410 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml

Author: jim
Date: Wed Jan 22 16:42:11 2014
New Revision: 1560410

URL: http://svn.apache.org/r1560410
Log:
Docco change re using UDS with rewriteRule

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

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=1560410&r1=1560409&r2=1560410&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml Wed Jan 22 16:42:11 2014
@@ -835,14 +835,20 @@ expressions</description>
     usually be set <strong>off</strong> when using
     <directive>ProxyPass</directive>.</note>
 
-    <p>Support for using a Unix Domain Socket is available by using a target
+    <p>Support for using a Unix Domain Socket is available by using a url target
     which prepends <code>unix:/path/lis.sock|</code>. For example, to proxy
     HTTP and target the UDS at /home/www/socket you would use
-    <code>unix:/home/www.socket|http://localhost/whatever/</code>.</p>
+    <code>unix:/home/www.socket|http://localhost/whatever/</code>. Since
+    the socket is local, the hostname used (in this case <code>localhost</code>)
+    is moot.</p>
 
     <note><strong>Note:</strong> The path associated with the <code>unix:</code>
     URL is <directive>DefaultRuntimeDir</directive> aware.</note>
 
+    <note><strong>Note:</strong> <directive>RewriteRule</directive> requires
+    the <code>[P,NE]</code> option to prevent the <code>'|'</code> character
+    from being escaped.</note>
+
     <p>Suppose the local server has address <code>http://example.com/</code>;
     then</p>