<example><title>Reverse Proxy PHP scripts</title>
<highlight language="config">
<FilesMatch \.php$>
+ # Unix sockets require 2.4.7 or later
SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/"
</FilesMatch>
</highlight>
<var>[key=value</var> ...]] [nocanon] [interpolate] [noquery]</syntax>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context>
+<compatibility>Unix Domain Socket (UDS) support added in 2.4.7</compatibility>
</contextlist>
<usage>
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>In 2.4.7 and later, support for using a Unix Domain Socket is available by using a 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>