ID: 19954 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux 2.4.19 PHP Version: 4CVS-2002-10-17 New Comment:
When you refer to the "old" sapi, are you talking about the 1.3.X sapi or previous versions of the apache2filter sapi? Previous Comments: ------------------------------------------------------------------------ [2002-10-17 10:27:17] [EMAIL PROTECTED] I've compiled Apache 2.0.43 and PHP 4.3.0-dev from CVS. I configured PHP with --with-apxs2=/usr/local/apache2/bin/apxs. In my httpd.conf I have the following lines: ErrorDocument 404 /error-404.php ErrorDocument 403 /error-403.php These two scripts DON'T output any header information via header(). They just output some HTML. Now when I try to GET an document that does not exist, I get "HTTP/1.1 200 OK" and the document /error-404.php instead of a "HTTP/1.1 404 Not Found". I think that the problem exists in the apache2filter SAPI since this behaviour does not occur in the "old" apache SAPI. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19954&edit=1
