1. Home
  2. m-Power Administration
  3. Hiding Tomcat Version Information

Hiding Tomcat Version Information

Contents

Certain customers may want to hide which version of Tomcat they are using, either for privacy or security reasons. This techblog post details how to do so.

Implementation

  1. Go to your tomcat/lib folder. Within this folder, make several subfolders: org/apache/catalina/util
  2. Within the /tomcat/lib/org/apache/catalina/util folder, create a file named: ServerInfo.properties
  3. Edit this new file and add this line to it: server.info=Application Server
  4. Save and restart Tomcat.

Now instead of seeing this error:

The error will now look like this:

Updated on August 9, 2023

Was this article helpful?

Related Articles