In your CATALINA_BASE\lib directory create dirs org/apache/catalina/util. Then, create the file ServerInfo.properties with the following properties:
server.info=Apache server.number=1.2.3.4 server.built=18 nov 2012 23:59:59
Restart the Tomcat. Now Tomcat error pages won't contain version information.
Комментариев нет:
Отправить комментарий