httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Removing the Server Response Header
Date Wed, 13 Apr 2005 23:51:56 GMT
On 4/13/05, Larry Johnson <ljohnson@envictus.com> 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.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message