https://issues.apache.org/bugzilla/show_bug.cgi?id=54101
Priority: P2
Bug ID: 54101
Assignee: [email protected]
Summary: Socket backend support for mod_proxy
Severity: enhancement
Classification: Unclassified
OS: Linux
Reporter: [email protected]
Hardware: All
Status: NEW
Version: 2.4.3
Component: mod_proxy
Product: Apache httpd-2
Created attachment 29549
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29549&action=edit
Patch for socket support on mod_proxy
Currently mod_proxy and mod_proxy_fcgi doesn't support for a UNIX socket
backend.
Speaking about FCGI protocol and PHP, generally many PHP-FPM server
configurations are using a socket backend instead of the standard TCP
connection.
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:
http://www.gossamer-threads.com/lists/apache/dev/416627
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: [email protected]
For additional commands, e-mail: [email protected]