Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14811 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61546 invoked by uid 1010); 11 Feb 2005 00:12:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61428 invoked from network); 11 Feb 2005 00:12:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2005 00:12:07 -0000 X-Host-Fingerprint: 64.186.239.125 c-064-186-239-125.oc1.redwire.net Linux 2.4/2.6 Received: from ([64.186.239.125:4453] helo=mail.kromann.info) by pb1.pair.com (ecelerity HEAD (r4105:4106)) with SMTP id 5E/D9-47902-948FB024 for ; Thu, 10 Feb 2005 19:11:53 -0500 Received: from warp (unknown [64.186.239.115]) by mail.kromann.info (Postfix) with SMTP id 8E2532AE58 for ; Thu, 10 Feb 2005 16:11:44 -0800 (PST) To: X-Mailer: Swwwing 2000 Message-ID: <11080807004200000@9866357972520000.9866341568840000> MIME-Version: 1.0 Reply-To: "Frank M. Kromann" Date: Thu, 10 Feb 2005 16:11:40 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php-cgi broken From: frank@kromann.info ("Frank M. Kromann") I Suggest that we revert the patch, as it for sure breaks how IIS works with CGI. I have not thested with ISAPI or Apache, but I could do that. We can then add a patch that checks for SCRIPT_FILENAME and then falls back to SCRIPT_NAME if the first one was undefined. It seams to me that the patch does it the other way arround. - Frank > > Bug report suggested the other way around: CGI not being usable > under IIS _without_ the patch. :) > > (Yes, I didn't test it, I don't have IIS..) > > http://bugs.php.net/bug.php?id=28227&edit=1 > > --Jani > > On Tue, 8 Feb 2005, Frank M. Kromann wrote: > > > Hello Everyone, > > > > The patch on sapi/cgi_main.c from 1.259 to 1.260 (HEAD) breaks the cgi > > under IIS. No after this patch the server returns file not found on all > > requests. > > > > - Frank > > > > >