Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26718 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95428 invoked by uid 1010); 26 Nov 2006 17:39:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95413 invoked from network); 26 Nov 2006 17:39:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2006 17:39:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:52045] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B6/A0-25052-921D9654 for ; Sun, 26 Nov 2006 12:39:24 -0500 Received: (qmail 8436 invoked from network); 26 Nov 2006 17:37:19 -0000 Received: from localhost (HELO ANDILENOVO) (127.0.0.1) by localhost with SMTP; 26 Nov 2006 17:37:19 -0000 To: , Date: Sun, 26 Nov 2006 09:38:39 -0800 Message-ID: <046701c71181$b787c450$5210a8c0@zend.2k> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AccRSgajFQgRLEDiT7ue5+i36NPe0wAN1sPQ In-Reply-To: <20061126105903.5eb5efe4@taris.localnet> Subject: RE: [PHP-DEV] new apache fastcgi implementation and php fastcgi patch From: andi@zend.com ("Andi Gutmans") References: <20061126105903.5eb5efe4@taris.localnet> Making the PHP SAPI extension know how to handle static files does not sound like the right solution to me. You should be able to redirect the PHP requests only to PHP's FastCGI (which already works today incl. remotely), and redirect the static content to a Web Server (thttpd or something alike). I personally don't see a great reason adding such a patch to PHP itself. Btw, what are the advantages between your and Apache's FastCGI implementation? This is something you might want to share with the Apache httpd folks because if it's a good implementation then it might be nice to contribute it to them. Andi > -----Original Message----- > From: Mathieu CARBONNEAUX [mailto:info@ch2o.info] > Sent: Sunday, November 26, 2006 2:59 AM > To: internals@lists.php.net > Subject: [PHP-DEV] new apache fastcgi implementation and php > fastcgi patch > > hi every body, > > i've developped a new implementation of fastcgi module for apache. > i'have used the scheme handler of mod_proxy of apache like > new mod_proxy_ajp 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 machine... 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 addition... > but after how i can add to php trunck my dev ? > > they modify only php cgi/fastcgi sapi ! > > my code are her: http://mproxyfcgi.sourceforge.net/ > > Best Regards, > Mathieu >