]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Docco change re using UDS with rewriteRule
authorJim Jagielski <jim@apache.org>
Wed, 22 Jan 2014 16:42:11 +0000 (16:42 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 22 Jan 2014 16:42:11 +0000 (16:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560410 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy.xml

index 8338c2f2c1f3023a154cef8abfc29b57e97808bf..fc4c0885fe9f0e314ad2de16ee1779ea584f373a 100644 (file)
@@ -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>