#33987 [Opn]: .php file in ErrorDocument causes apache crash
| From: | php dot net at sharpdreams dot com | Date: | Wed, 03 Aug 2005 20:02:53 +0000 |
| Subject: | #33987 [Opn]: .php file in ErrorDocument causes apache crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82912@lists.php.net to get a copy of this message | ||
ID: 33987
User updated by: php dot net at sharpdreams dot com
Reported By: php dot net at sharpdreams dot com
Status: Open
Bug Type: Apache2 related
Operating System: Win32 (XP SP2)
PHP Version: 5CVS-2005-08-03 (dev)
New Comment:
Tested on 5.0.3 release and it works fine. Some kind of regression
between 5.0.3 and 5.1CVS.
Previous Comments:
------------------------------------------------------------------------
[2005-08-03 21:46:05] php dot net at sharpdreams dot com
Description:
------------
Using recent PHP5.1 CVS snapshots on Win32, Apache2 crashes when a .php
file is set as an ErrorDocument in .htaccess.
There are similiar bugs (21074, 19793) that are marked closed.
This was working with snapshots from a few weeks ago.
Reproduce code:
---------------
.htaccess
---------
ErrorDocument 404 /error.php?status=404
/error.php
---------
die( "File Not Found!" );
Expected result:
----------------
File Not Found!
Actual result:
--------------
Apache2 crashes.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33987&edit=1