From: Xuefer at 21cn dot com Operating system: win32 PHP version: 4.3.3RC2 PHP Bug Type: Apache2 related Bug description: ErrorDocument do not work with unexisting *.php
Description: ------------ accessing http://localhost/a.php (not exist file) will cause apache2 to restart Reproduce code: --------------- step 1: echo test > c:\404.php httpd.conf: Alias /404.php c:/404.php ErrorDocument 404 /404.php open browser to http://localhost/a.php apache2 log: [client 127.0.0.1] script not found or unable to stat [Wed Aug 06 01:52:53 2003] [notice] Parent: child process exited with status 4294967295 -- Restarting. open browser to http://localhost/a.html apache2 log only have: [client 127.0.0.1] script not found or unable to stat step 2: echo test > c:\404.html changed config to: httpd.conf: Alias /404.html c:/404.html ErrorDocument 404 /404.html open browser to http://localhost/a.html got "test" no error in apache2 log -- Edit bug report at http://bugs.php.net/?id=24958&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24958&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24958&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24958&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24958&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24958&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24958&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24958&r=support Expected behavior: http://bugs.php.net/fix.php?id=24958&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24958&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24958&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24958&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24958&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24958&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24958&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24958&r=gnused
