Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

How to suppress the Server: HTTP header

Usually, Jetty will send the HTTP Server header on replies. It looks something like this:

HTTP/1.x 200 OK

Content-Type: text/html

Content-Length: 2155

Last-Modified: Thu, 06 Jul 2006 08:25:50 GMT

Connection: keep-alive

Server: Jetty(6.0.x)  <--------- the server header

You can supress the sending of this header by uncommenting the following line in the etc/jetty.xml file from the distribution:

<Set name="sendServerVersion">true</Set>

You might want to do this to heighten the security of your site by hiding details of the software you are using. Of course, this will do nothing good for Jetty's Netcraft rating (smile).

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery