httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] Re: header unset server does not work
Date Wed, 12 Jun 2013 14:46:30 GMT
On Wed, Jun 12, 2013 at 9:18 AM, fredk2 <fredk2@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


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

Mime
View raw message