httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 57978] New: unix:/ works with any number of / slashes except 2
Date Mon, 01 Jun 2015 09:21:53 GMT

            Bug ID: 57978
           Summary: unix:/ works with any number of / slashes  except 2
           Product: Apache httpd-2
           Version: 2.4.12
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_fcgi

ProxyPassMatch or RewriteRules that reference Unix Domain Sockets do not work
if unix: is followed by exactly two slashes. Any other number (including zero,
resulting in a path relative to the ServerRoot) appears to work. 

If two slashes are used (as in "unix://"), the first path component is removed.
For example, the following two methods to specify an FCGI proxy with unix
domain sockets

RewriteRule ^\/\/?$

ProxyPassMatch ^/(.*)$

result in 503 errors and a message in the error log as follows:

[Mon Jun 01 11:12:45.124529 2015] [proxy:debug] [pid 13534:tid 139897419593472]
proxy_util.c(2226): [client] AH02545: fcgi: has determined UDS
as /canavan/foo/run/php-fpm.sock

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message