httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 54101] New: Socket backend support for mod_proxy
Date Mon, 05 Nov 2012 16:10:23 GMT

          Priority: P2
            Bug ID: 54101
           Summary: Socket backend support for mod_proxy
          Severity: enhancement
    Classification: Unclassified
                OS: Linux
          Hardware: All
            Status: NEW
           Version: 2.4.3
         Component: mod_proxy
           Product: Apache httpd-2

Created attachment 29549
Patch for socket support on mod_proxy

Currently mod_proxy and mod_proxy_fcgi doesn't support for a UNIX socket

Speaking about FCGI protocol and PHP, generally many PHP-FPM server
configurations are using a socket backend instead of the standard TCP

NGINXx supports it and the mod_fastcgi too with the config:
FastCgiExternalServer /cgi-bin/php-path -socket /path/to/socket/php-fpm.sock

A proposed patch and solution can be found here:

The example config format proposed is the following:

ProxyPass fcgi://socket=%2ftmp%2fphp-fpm.sock/local/htdocs/ 

I tested the patch on the version 2.4.3 and it works, even if the patch file
should be slightly adapted to the latest changed in the Apache HTTPD code.

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