ID: 24958
Updated by: [email]sniperphp.net[/email]
Reported By: Xuefer at 21cn dot com
-Status: Open
+Status: Verified
Bug Type: Apache2 related
Operating System: win32
PHP Version: 4.3.3RC2


Previous Comments:
------------------------------------------------------------------------

[2003-08-06 09:47:14] Xuefer at 21cn dot com

LoadModule php4_module C:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php .php3

php is working fine, only ErrorDoent do not work

------------------------------------------------------------------------

[2003-08-06 09:38:54] [email]sniperphp.net[/email]

And how is PHP configured? As CGI / module? If latter, which module?


------------------------------------------------------------------------

[2003-08-05 23:01:40] Xuefer at 21cn dot com

Description:
------------
accessing [url]http://localhost/a.php[/url] (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
ErrorDoent 404 /404.php


open browser to [url]http://localhost/a.php[/url]
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 [url]http://localhost/a.html[/url]
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
ErrorDoent 404 /404.html

open browser to [url]http://localhost/a.html[/url]
got "test"
no error in apache2 log



------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=24958&edit=1[/url]