Bug 56559

Summary: multiple unix sockets in one virtualhost fails
Product: Apache httpd-2 Reporter: Paul Lockaby <paul>
Component: mod_proxyAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.9   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Paul Lockaby 2014-05-25 06:01:22 UTC
If I have a configuration like this:

<VirtualHost *:80>
    ServerName example.com

    ProxyPass /foo unix:/path/to/foo.sock|http://localhost
    ProxyPassReverse /foo unix:/path/to/foo.sock|http://localhost
    ProxyPass /bar unix:/path/to/bar.sock|http://localhost
    ProxyPassReverse /bar unix:/path/to/bar.sock|http://localhost
</VirtualHost>

Only the first proxy is used. That is, if I go to http://example.com/foo I get the webapp for foo and if I go to http://example.com/bar I get the webapp for foo. When I took the same configuration and replaced it with http sockets this worked normally.