Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26716 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14092 invoked by uid 1010); 26 Nov 2006 11:00:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14077 invoked from network); 26 Nov 2006 11:00:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2006 11:00:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=info@ch2o.info; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=info@ch2o.info; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ch2o.info from 212.27.42.35 cause and error) X-PHP-List-Original-Sender: info@ch2o.info X-Host-Fingerprint: 212.27.42.35 smtp5-g19.free.fr Linux 2.4 (Google crawlbot) Received: from [212.27.42.35] ([212.27.42.35:34405] helo=smtp5-g19.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/54-15887-A7379654 for ; Sun, 26 Nov 2006 05:59:42 -0500 Received: from taris.localnet (stc92-2-82-228-136-150.fbx.proxad.net [82.228.136.150]) by smtp5-g19.free.fr (Postfix) with ESMTP id 59A5027B22 for ; Sun, 26 Nov 2006 11:59:04 +0100 (CET) X-Spam-Status: No, hits=0.0 required=4.0 tests=ALL_TRUSTED: -2.867,AWL: -0.605,BAYES_00: -1.065, HTML_20_30: 0.567,HTML_MESSAGE: 0.001,UNWANTED_LANGUAGE_BODY: 3 X-Spam-Level: Received: from localhost ([127.0.0.1]) by taris.localnet (Kerio MailServer 6.1.2) for internals@lists.php.net; Sun, 26 Nov 2006 11:59:03 +0100 Reply-To: info@ch2o.info To: internals@lists.php.net Message-ID: <20061126105903.5eb5efe4@taris.localnet> Date: Sun, 26 Nov 2006 11:59:03 +0100 X-Mailer: Kerio MailServer 6.1.2 WebMail X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1) Gecko/20061010 Firefox/2.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----------peace-on-earth-246ab3ab0c79b204abfe4577d4780122" Subject: new apache fastcgi implementation and php fastcgi patch From: info@ch2o.info (Mathieu CARBONNEAUX) ------------peace-on-earth-246ab3ab0c79b204abfe4577d4780122 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable hi every body, i've developped a new implementation of fastcgi module for apache. i'have used the scheme handler of mod=5Fproxy of apache like new mod=5Fp= roxy=5Fajp in apache 2.2... the idea is to make possible proxyfy php application behind apache (for = security et and performance...). to make possible to execute fastcgi in one machine and apache in other m= achine... separed by firwalle (two DMZ)... the developpement of the old module as been stoped... is why i've decide to reimplemente all in new code with decente licence = (apache 2 licence...for the moment...) but in this way php receve all request: image, binary file, static file.= ..and also php file... for the php file no probleme... but for binary and image... they try to = interpret systematicly... to evitate this i've modify the fastcgi sapi to handle this in the good = way... they only execute by the php interpreter file with a list of extension (= .php .php4 .php5...) all other file are served directly... i've also modify the sapi to handle index file (index.html index.php...)= ... i have some dev to add new parametterer in php.ini to handle this additi= on... but after how i can add to php trunck my dev =3F they modify only php cgi/fastcgi sapi ! my code are her: http://mproxyfcgi.sourceforge.net/ Best Regards, Mathieu =20 ------------peace-on-earth-246ab3ab0c79b204abfe4577d4780122--