From: Jim Jagielski
Date: Wed, 22 Jan 2014 16:42:11 +0000 (+0000)
Subject: Docco change re using UDS with rewriteRule
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc85801af4cb43b3633b0116270fa88505a19949;p=thirdparty%2Fapache%2Fhttpd.git
Docco change re using UDS with rewriteRule
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560410 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 8338c2f2c1f..fc4c0885fe9 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -835,14 +835,20 @@ expressions
usually be set off when using
ProxyPass.
- Support for using a Unix Domain Socket is available by using a target
+
Support for using a Unix Domain Socket is available by using a url target
which prepends unix:/path/lis.sock|. For example, to proxy
HTTP and target the UDS at /home/www/socket you would use
- unix:/home/www.socket|http://localhost/whatever/.
+ unix:/home/www.socket|http://localhost/whatever/. Since
+ the socket is local, the hostname used (in this case localhost)
+ is moot.
Note: The path associated with the unix:
URL is DefaultRuntimeDir aware.
+ Note: RewriteRule requires
+ the [P,NE] option to prevent the '|' character
+ from being escaped.
+
Suppose the local server has address http://example.com/;
then