httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14194] New: - With dynamic ErrorDocument, HTTP response status code is overwritten to 200
Date Sat, 02 Nov 2002 19:31:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14194>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14194

With dynamic ErrorDocument, HTTP response status code is overwritten to 200

           Summary: With dynamic ErrorDocument, HTTP response status code is
                    overwritten to 200
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vakmajom@mail.com


I am using Apache 2.0.43 on a Windows 98 SE system, with php 4.2.3. as a sapi 
module.

I used the ErrorDocument directive in my .htaccess file:
ErrorDocument 404 index.php
But when I requested a file that did not exist, the respose started with:
"HTTP/1.1 200 Ok" instead of "HTTP/1.1 404 Not Found".
The php script contanined only the phpinfo(); function.

This bug does not exist in the unix version of Apache 1.3.23. (school :)))

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message