I've a jetty server behind an apache httpd server. I properly handle headers to be returned to requests I receive at jetty level.
But sometimes apache httpd add some headers (typically the Content-Type
) that I don't want them to be added in my responses (I filter them out in jetty).
I tried to not load headers_mod
by commenting the following line in /etc/httpd/conf/httpd.conf
, but this did not fix the problem:
LoadModule headers_module modules/mod_headers.so
And when looking at the commands I can use in mod_headers documenation I don't see anyone that can be used to mute httpd!!
Any idea how I can force httpd to behave as I want??