tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
Subject Re: tomcat version output in error messages
Date Thu, 06 Jul 2006 10:48:08 GMT
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message