<(ALM) Support Tip> How to hide the Jetty version from the response header in ALM or Octane

  • KM02860482
  • 13-Jul-2017
  • 09-Oct-2019

Summary

How to hide the Jetty version from the response header in ALM or Octane

Question

How to hide the Jetty version from the response header in ALM or Octane

Answer

1) On the ALM or Octane server locate the "jetty.xml" file. This is typically located in the path...

Octane Unix: /opt/octane/server/conf
ALM Windows: <drive>\ProgramData\HP\ALM\server\conf
ALM Unix: /var/opt/HP/ALM/server/conf

2) Copy the existing "jetty.xml" to a safe location - this is your backup!
3) Open the "jetty.xml" for editing
4) Locate the element: <Set name="sendServerVersion">true</Set>
5) Change the element value to "false" like this: <Set name="sendServerVersion">false</Set>
6) Stop, then Start, the ALM or Octane service or process
7) Verify ALM or Octane comes back online
Then use Fiddler or similar. The Jetty version should now be hidden in the response header