httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Header fields for canned error pages
Date Tue, 02 Jul 2002 19:05:25 GMT

H'm.  Suppose we have a globally-scoped

    Header set "X-Foo" "Bar"
    ErrorDocument 404 /cgi-bin/my404

If we request a nonexistent document, we'll get the output from
the 'my404' script, and the 'X-Foo' field will have been added
to the response header.

However, if we *don't* use a custom ErrorDocument but let
http_protocol.c issue the default 404 page, the field is
*not* added to the response header.

Is this a bug?  I'm not sure either way..
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

View raw message