Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97CD510443 for ; Mon, 24 Feb 2014 15:02:19 +0000 (UTC) Received: (qmail 81664 invoked by uid 500); 24 Feb 2014 15:02:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 81576 invoked by uid 500); 24 Feb 2014 15:02:14 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 81561 invoked by uid 99); 24 Feb 2014 15:02:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 15:02:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ant_mail@inbox.ru designates 94.100.176.173 as permitted sender) Received: from [94.100.176.173] (HELO smtp20.mail.ru) (94.100.176.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Feb 2014 15:02:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Subject:To:Message-ID:From:Date; bh=yQZGgb8FwNIJ1w5qNWrlEITJTpnqBPxgVuxwWi3n+CY=; b=BhvpGAZB+p8nBk53qC2EuC1RPWOKwSpBiPm/SM2TpYL6XxAA8qLS+7JK7fFTEvFfKyc4frB1OLzdg2JGbk0OR0nD93Km8uzM7vl062AN7mE8w+wHQvKdkytfaTMkIWGshDbta5R7XgLzTBoTTQmX3KF1eYTO4p5YJ5J+/7cpwPQ=; Received: from [91.190.115.253] (port=61097 helo=[192.168.192.11]) by smtp20.mail.ru with esmtpa (envelope-from ) id 1WHx2Q-000502-A7 for dev@httpd.apache.org; Mon, 24 Feb 2014 19:01:46 +0400 Date: Mon, 24 Feb 2014 19:01:44 +0400 From: Anthony Pankov X-Priority: 3 (Normal) Message-ID: <992648966.20140224190144@inbox.ru> To: Lazy Subject: Re: what to expect from fcgid In-Reply-To: References: <409525977.20140221205635@inbox.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam: Not detected X-Mras: Ok X-Virus-Checked: Checked by ClamAV on apache.org =0D=0A>>https://github.com/hollow/mod_fastcgi_handler Yes, this kind of configuration is what i want. I think this link usefull for Kean Johnston, who is gathering to please us with mod_extfcgi. > https://github.com/hollow/mod_fastcgi_handler is quite easy to > configure, unfortunetly it is abandoned > 2014-02-21 17:56 GMT+01:00 =D0=90=D0=BD=D1=82=D0=BE=D0=BD =D0=9F=D0=B0=D0= =BD=D0=BA=D0=BE=D0=B2 : >> 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 a= chieve 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/fastcg= i/php-fpm-common >> FastCgiExternalServer /var/fdwww/outroot/php-fpm-wxsf -socket /var/run/f= astcgi/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/fa= stcgi/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_mail@inbox.ru >> --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, Anthony mailto:ant_mail@inbox.ru