On Wed, Jun 12, 2013 at 9:18 AM, fredk2 <fre...@gmail.com> wrote:

> Thank you both for the replies.
>
> I have used mod_security in the past, but concerned it would be
> missimplemented.
>
> 1/ Do you think that AddServerHeader directive will ever be added to the
> core Apache ?
>

???


>
> 2/ would someone reading the "module writing" tutorials be able to create a
> module to modify or remove the server header or would this be one of the
> more challenging module to write ?
>

It needs to be removed in a filter that sits right under the HTTP header
filter, and it has to be sensitive to basic HTTP response format and remove
the Server header while the headers are being passed down and get out of
the way afterwards.  As such, it is a relatively simple filter but requires
some understanding that is not required of a lot of other modules.

Here's the general idea:

http://emptyhammock.com/downloads/mod_remove_server_header.c



> Thanks again in advance,
> Fred
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-http-server.18135.x6.nabble.com/header-unset-server-does-not-work-tp5006287p5006309.html
> Sent from the Apache HTTP Server - Users mailing list archive at
> Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

Reply via email to