#18371 [Com]: --enable-discard-path breaks php-cgi

From: Date: Thu, 22 Aug 2002 21:12:27 +0000
Subject: #18371 [Com]: --enable-discard-path breaks php-cgi
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-17595@lists.php.net to get a copy of this message
ID: 18371 Comment by: janus@area319.de Reported By: janus@area319.de Status: Open Bug Type: *General Issues Operating System: ALL PHP Version: 4.2.* New Comment: For all Apache2-lovers: i've written a patch to suexec, so you can simply use the cgi-version of php outside the document_root and without having the same uid/gid like php has (especially nescessarry for vhosting). URL: http://janus.errornet.de/patches.x?d=apache2/ Previous Comments: ------------------------------------------------------------------------ [2002-08-21 11:13:29] janus@area319.de So now i wrote a wrapper to fix the SCRRIPT_* variables, but i would be nice if PHP is recognising that itself and fixes that :) The URL: http://janus.errornet.de/scripts.x?f=fix_php.c ------------------------------------------------------------------------ [2002-08-20 11:03:48] janus@area319.de I forgot, since it isn't working with Apache1 too, its a generell issue i think. ------------------------------------------------------------------------ [2002-08-20 11:02:54] janus@area319.de There's still nothing working, so i reopen it... i gave feedback ;) ------------------------------------------------------------------------ [2002-08-20 09:35:45] janus@area319.de I've set up Apache 1.3.26 with php and suexec. php: ./configure --enable-force-cgi-redirect This works if it's configured as i said... but this one is wrong: _ENV["SCRIPT_NAME"] = /x-mod-httpd-php4/php ------------------------------------------------------------------------ [2002-08-18 01:00:11] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18371 -- Edit this bug report at http://bugs.php.net/?id=18371&edit=1

« previous php.bugs (#17595) next »