title: Apache mod_proxy_uwsgi and unix domain sockets
body: <p>I have a uwsgi server running for unix domain socket</p>
  
  <pre><code>[uwsgi]
  ...
  socket = /var/run/someuwsgi.sock
  socket = localhost:9987
  ...
  </code></pre>
  
  <p>The mod_proxy_uwsgi is installed</p>
  
  <p>In apache config has that line:
      ProxyPass /some uwsgi://localhost:9987</p>
  
  <p>And it is working.</p>
  
  <p>Question: what should be  the apache config line to go through unix domain socket
     /var/run/someuwsgi.sock 
  ?
  I tried</p>
  
  <pre><code>ProxyPass /some uwsgi:///var/run/someuwsgi.sock
  </code></pre>
  
  <p>and got</p>
  
  <pre><code>Bad Request
  Your browser sent a request that this server could not understand.
  </code></pre>
  
  <p>Also tried </p>
  
  <pre><code>ProxyPass /some uwsgi://unix:///var/run/someuwsgi.sock
  </code></pre>
  
  <p>and got</p>
  
  <pre><code>Proxy Error
  
  The proxy server received an invalid response from an upstream server.
  The proxy server could not handle the request GET /some/.
  
  Reason: DNS lookup failure for: unix:
  </code></pre>
  
  <p>Thanks!</p>