tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "ПомощьНовичкам" by Ilyas Bakirov
Date Sat, 02 Jan 2010 08:51:49 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "ПомощьНовичкам" page has been changed by Ilyas Bakirov.
http://wiki.apache.org/tomcat/%D0%9F%D0%BE%D0%BC%D0%BE%D1%89%D1%8C%D0%9D%D0%BE%D0%B2%D0%B8%D1%87%D0%BA%D0%B0%D0%BC

--------------------------------------------------

New page:
= Hide/disable Apache Tomcat server version =

Sometimes for security reasons system administrators hide/disable server informations such
as web server product name and version. Unlike famous Apache HTTP server Apache Tomcat does
not have applicable configuration keys for this, but we can change/remove version information
in ServerInfo.properties file which is located in catalina.jar file.

Steps:
 * Stop Apache Tomcat server
 * Unpack '''$CATALINA_HOME$/lib/catalina.jar''' or '''$CATALINA_HOME$/server/lib/catalina.jar'''
(''jar xvf catalina.jar org/apache/catalina/util/ServerInfo.properties'')
 * Update '''ServerInfo.properties''' text file. You will see '''server.name''' and '''server.number'''
keys
 * Pack only '''ServerInfo.properties''' file again into catalina.jar (''jar uvf catalina.jar
org/apache/catalina/util/ServerInfo.properties'' Be sure not to include org/apache/catalina/util
folder structure again)
 * Start Apache Tomcat server


 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message