Change Tomcat Server Header
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, tools, and much more.