[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache 1.3.34 (Etch current) adds response headers twice



Hi.

I'm trying to manipulate response headers returned by Apache 1.3.34
(current in Etch).

I've installed apache, run "apache-modconf apache enable mod_headers",
checked that the appropriate line is correctly entered ("grep
mod_headers /etc/apache/modules.conf" returns "LoadModule
headers_module /usr/lib/apache/1.3/mod_headers.so", so that looks fine
to me). Then I restart the server with a "/etc/init.d/apache restart"
(the documentation tells me that the apache-modconf command is
supposed to do this for me, but that appears to be broken at the
moment, as well).

Then I create /etc/apache/conf.d/headerStuff and add the line:
Header append Author "John P. Doe"
exactly as per the example on the mod_headers documentation page:
http://httpd.apache.org/docs/1.3/mod/mod_headers.html

Before I restart the server, tcpflow shows me that the response
headers do not include any "Author" header.

After I restart the server, the response headers returned by apache
include the following line:
Author: John P. Doe, John P. Doe

Can anyone else confirm this behaviour, and am I correct in saying
that this behaviour is incorrect? (I find it suprising, to say the
least, that I'm the first to spot this - which makes me think I've
gone wrong somewhere...)

Thanks, Jaime



Reply to: