httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Randall <crand...@matchlogic.com>
Subject 2.0.25 on FreeBSD 4.2-R -- 404 returns text/plain error page
Date Wed, 29 Aug 2001 22:14:39 GMT
Using the prefork mpm on FreeBSD 4.2-R with a default installation
(./configure --prefix=/my/full/path -with-port=8080) a request for a
non-existant page (E.g., /bogus) returns the HTML error document as
text/plain.

The headers returned from the server are,

        HTTP/1.1 404 Not Found
        Date: Wed, 29 Aug 2001 22:11:19 GMT
        Server: Apache/2.0.25 (Unix)
        Vary: accept-language
        Accept-Ranges: bytes
        Content-Length: 744
        Connection: close
        Content-Type: text/plain; charset=ISO-8859-1
        Expires: Wed, 29 Aug 2001 22:11:19 GMT

I haven't tried to reproduce this on other platforms.

As a side note, some portions of the code are compiled with "-D_REENTRANT
-D_THREAD_SAFE" even when building using the prefork mpm. Why? Doesn't that
have the potential to do the wrong thing on some platforms?

Charles




Mime
View raw message