Attacks on HTTP servers typically exploit a bug or vulnerability . These vulnerabilites are specific to vendors. By removing the server versioning information from the headers, you make attacks on the HTTP server less vendor specific and generally less effective.
The ServerTokens directive configures the Server HTTP response headers. This directive is some what of a security concern in that it can reveal the version and type of web server that you are running to the outside world. You can hide this detail by following these steps.
bash-2.03$ telnet apache.org 80 Trying 209.237.227.195... Connected to apache.org. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 29 Aug 2006 01:40:16 GMT Server: Apache/2.2.3 (Unix) Last-Modified: Thu, 27 Jul 2006 17:31:11 GMT ETag: "998c34-3796-8fd795c0" Accept-Ranges: bytes Content-Length: 14230 Cache-Control: max-age=86400 Expires: Wed, 30 Aug 2006 01:40:16 GMT Connection: close Content-Type: text/html Connection closed by foreign host. bash-2.03$ telnet www.apache.org 80 Trying 192.87.106.226... Connected to www.apache.org. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 29 Aug 2006 01:40:27 GMT Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7g Last-Modified: Thu, 27 Jul 2006 17:31:11 GMT ETag: "203a4-3796-419938fd795c0" Accept-Ranges: bytes Content-Length: 14230 Cache-Control: max-age=86400 Expires: Wed, 30 Aug 2006 01:40:27 GMT Connection: close Content-Type: text/html Connection closed by foreign host.