From bc85801af4cb43b3633b0116270fa88505a19949 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 22 Jan 2014 16:42:11 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_proxy.xml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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

-- 2.47.3