https://github.com/hollow/mod_fastcgi_handler is quite easy to configure, unfortunetly it is abandoned
2014-02-21 17:56 GMT+01:00 Антон Панков <ant_m...@inbox.ru>: > Dear All. > > Please, explain what functionality now in trunk and what plans for > mod_fcgid. I miss FastCGIExternalServer feature. > > The problem is to allow different site parts to be processed by > different FastCGI servers (frankly speaking, by different php-fpm > pools). Also, there is a need of external access > checker. > > This type of configuration has the following problem with apache > 2.4.X: > > 1. With mod_fastcgi and some magic [1] it is possible to > achieve desired > configuration. But mod_fastcgi doesn't compile with Apache 2.4. > > 2. Mod_fcgid lack of FastCGIExternalServer feature. > > 3. Mod_proxy_fcgi has rough configuration. It can't be tied > to handlers, so it assigned to "directory", not to specified files. > Also, it avoid unix sockets (i know, they are in trunk), > > So, the question is whether things that will help me already in > trunk? Does it make sense to wait for future apache httpd release? > > May be i do things wrong and somebody can direct me to right way . > > > Appendices > 1. Magic to run different > #----- PHP startup as unpriveleged user (general purpose script)----- > #-php-fpm (emptyfile) treat as a pipe to php-fpm standart pool > FastCgiExternalServer /var/fdwww/outroot/php-fpm -socket > /var/run/fastcgi/php-fpm-common > FastCgiExternalServer /var/fdwww/outroot/php-fpm-wxsf -socket > /var/run/fastcgi/php-fpm-common > > # PHP regular fastcgi starter > Action php-fc /internal/doscript > Alias /internal/doscript /var/fdwww/outroot/php-fpm > > #-------------BOX realm ------- > #Accesschecker for BOX realm > FastCgiServer /usr/fdsys/acheckers/boxcheck.pl -processes 2 > #PHP startup as boxscript user > #-php-fpm-box (emptyfile) treat as a pipe to php-fpm boxscript pool > FastCgiExternalServer /var/fdwww/outroot/php-fpm-box -socket > /var/run/fastcgi/php-fpm-box > # PHP magic for Box starter > Action php-fc-box /internal/doscript-box > Alias /internal/doscript-box /var/fdwww/outroot/php-fpm-box > > -- > Best regards, > Anthony mailto:ant_m...@inbox.ru >