Change Tomcat Server Header

Solution Verified - Updated -

Issue

  • Change Tomcat's Server header.
  • Tomcat's server header reveals version number.
# curl -I http://localhost:8080/sample/
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8
Content-Length: 636
Connection: close

Environment

  • Red Hat Enterprise Linux
  • Red Hat JBoss Web Server - Tomcat

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In