UnixServerAdmin

Server Administration & Management

How to hide web server version in Tomcat

Add the following attributes to the <Connector> in Tomcat’s server.xml to hide web server version in Tomcat at line no- 73 :-

# vim apache-tomcat/conf/server.xml

<Connector port=”8080″ protocol=”HTTP/1.1″
connectionTimeout=”20000″
redirectPort=”8443″
server=”Tomcat” />

Advertisements

April 7, 2013 Posted by | Security, Tips & Tricks, Tomcat | , , , , | 1 Comment