Skip to content

Commit

Permalink
Merge pull request #491 from /issues/490-documentation-tomcat-version
Browse files Browse the repository at this point in the history
Fix #490: Document how to turn off version display in error page for Tomcat
  • Loading branch information
romanstrobl authored Nov 3, 2022
2 parents 979c461 + 2ca9562 commit 1011715
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/Deploying-Enrollment-Server.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,12 @@ The following Java runtime versions are supported:
- Java 17 (LTS release)

The Enrollment Server may run on other Java versions, however we do not perform extensive testing with non-LTS releases.

## How to Disable Display of Tomcat Version

It case you do not want to show Tomcat version on error pages when deploying Enrollment server, you can use the following configuration:

- Edit the file `<install-directory>/conf/server.xml`.
- Search for the parameters `<Host name="..."/>`.
- Just below that line, insert the following parameters `<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false"/>`.
- Restart Tomcat.

0 comments on commit 1011715

Please sign in to comment.