We want to stop api potal from revealing Server & Application Version
To change "Apache Tomcat/6.0.39" header that can show up
1. As root, run the folowing commands:
mkdir -p /opt/Deployments/lrs/server/lib/org/apache/catalina/util
vi /opt/Deployments/lrs/server/lib/org/apache/catalina/util/Serverinfo.properties
2. Enter content like the follwoing two lines:
server.info=Charllie Delta/1.2.3
server.number=1.2.3
3. Run these commands:
chown root:portalusers -R /opt/Deployments/lrs/server/lib/org
service apiportal restart
Below is the screenshot which is a example of version leakage
<Please see attached file for image>
src="" alt="" width="765" height="472">