You can use your own ErrorReportValve.

Look for errorReportValveClass in http://tomcat.apache.org/tomcat-5.0-doc/config/host.html

-Tim

Mike Schmelzer wrote:
Hi *!

I'm using Apache 2 and Tomcat 5 to host several websites. For security
reasons I don't want that Tomcat is displaying the Tomcat version in its
error messages (i.e. 404 error message). How can I prevent Tomcat from
displaying those software information?

I know the deal with the <error-page> directive within the web.xml but I
don't want to use that. I assume it should be possible to just disable those
software version output of the error messages by editing some include files
our whatever is used to build those error pages.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to