Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1639 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51951 invoked from network); 17 May 2003 20:44:32 -0000 Received: from unknown (HELO vckyb2.nw.wakwak.com) (211.9.230.145) by pb1.pair.com with SMTP; 17 May 2003 20:44:32 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135:25]) by vckyb2.nw.wakwak.com (Postfix) with ESMTP id 502DB40014 for ; Sun, 18 May 2003 05:44:31 +0900 (JST) Received: from at.wakwak.com (z193.61-115-68.ppp.wakwak.ne.jp [61.115.68.193]) by at.wakwak.com (8.12.9/8.12.9/2003-03-31) with SMTP id h4HKiVH5098611 for ; Sun, 18 May 2003 05:44:31 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Date: Sun, 18 May 2003 05:47:28 +0900 X-Mailer: EdMax Ver2.85.3F MIME-Version: 1.0 To: php-internal Message-ID: <20030518054728tC&SyF@at.wakwak.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Apache2 SAPI behaviour regarding PATH_TRANSLATED From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) Hi, I had prepared a fix for bug #23610 (http://bugs.php.net/23610) that complains PATH_TRANSLATED is not populated under Apache2 SAPI, but I ended up reverting it as Shane told me that the patch was technically wrong while that variable is designed to be set to SCRIPT_FILENAME if it's absent under Apache1 SAPI. After a short discussion on this issue with Ilia at php.bugs, I'm now under the impression that the patch should be revisited, as the issue is originally focused as a great BC break and there's no specification that instructs us to make all SAPI act as if it was using CGI. What do you think of this? The patch was http://cvs.php.net/diff.php/php4/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.9&r2=1.1.2.10&ty=h (for unified diff) http://cvs.php.net/diff.php/php4/sapi/apache2handler/sapi_apache2.c?r1=1.1.2.9&r2=1.1.2.10&ty=u Moriyoshi