Bug 56559 - multiple unix sockets in one virtualhost fails
Summary: multiple unix sockets in one virtualhost fails
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy (show other bugs)
Version: 2.4.9
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-25 06:01 UTC by Paul Lockaby
Modified: 2014-05-25 06:01 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.