Discussion on dev@: http://tomcat.markmail.org/thread/mh3yaptw7rlw2zcv [quote] Looking at Tomcat bug 56383 - "Securing ErrorReportValve" ( https://issues.apache.org/bugzilla/show_bug.cgi?id=56383 ), i think a similar thing can also be done for the Tomcat version number reported by the DefaultServlet. This servlet will show the version information from ServerInfo when the listings are enabled. Currently it seems there is no way of disabling version reporting other than 'hacking' the ServerInfo. [/quote] There is a way to customize those listings: define an XSLT style sheet. That said, it is possible to introduce a configuration option for DefaultServlet. Places to patch: - DefaultServlet.java - webapps/docs/default-servlet.xml - webapps/docs/security-howto.xml
This is meant to be security by obscurity?
It is not meant to be security. It is that some people like to hide that information. I am just saying that new feature have to be documented.
This has been fixed in trunk for 8.0.6 and in 7.0.x for 7.0.54 onwards.