httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Removing the Server Response Header
Date Wed, 13 Apr 2005 23:51:56 GMT
On 4/13/05, Larry Johnson <> wrote:
>        I'm currently in the process of trying to remove/write over the
> "Server" response header variable using mod_headers. My question is where
> exactly in my configuration files do I need to place the "Header unset ..."
> or "Header set ..." lines for them to overwrite or remove this variable.
> I've tried in httpd.conf to no avail, though I can add new header variables
> so I know that mod_headers is working properly. Anything you can provide
> would be a great help.

You can't do that with mod_headers, and it's a silly idea anyway.

If you want to display less information, see the ServerTokens
directive.  If you want to lie in the server header or omit it
entirely, you'll need to hack the code.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message