ID: 34249 Updated by: [EMAIL PROTECTED] Reported By: jeroen at terena dot nl Status: Assigned Bug Type: Apache2 related Operating System: * PHP Version: 5CVS-2005-10-26 (cvs) -Assigned To: iliaa +Assigned To: tony2001 New Comment:
Assigning to the guilty party. Antony, your fix for bug #34581 broke the fix for this bug. Previous Comments: ------------------------------------------------------------------------ [2005-10-26 14:14:20] [EMAIL PROTECTED] I'm reopening this since I'm seeing this again. Ilia, you fixed this last time, but this line is suspicious: sapi/apache2handler/sapi_apache2.c:538 if (parent_req && strcmp(parent_req->handler, PHP_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SCRIPT)) { It crashes since (in this case) the parent_req->handler is null. strcmp() didn't like that. :) ------------------------------------------------------------------------ [2005-08-29 10:46:12] jeroen at terena dot nl Yep, it works fine with the CVS version. ------------------------------------------------------------------------ [2005-08-25 17:04:21] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-08-25 16:23:41] jeroen at terena dot nl Description: ------------ Please see http://bugs.php.net/bug.php?id=33987 I'm still experiencing the same bug in 5.1RC1 Any custom error document other than a PHP document works. If I use a PHP document no code gets executed it just seems to ignore the error document. Occaisionally I get an even weirder response like Apache trying to send the original file (jpeg in my case) anyway. This ofcourse doesn't work. I'm using PHP5.1RC1, Apache2 on Debian Linux. Reproduce code: --------------- .htaccess ErrorDocument 404 /404.php 404.php can leave it empty Expected result: ---------------- empty page or whatever code was put in 404.php Actual result: -------------- nothing. displays referring page in mozilla. IE shows its "page could not be displayed" document. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34249&edit=1