Change Tomcat Server Header
Issue
- Change Tomcat's
Serverheader. - 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
