Re: thoughts about ErrorReportValve class

2015-08-12 Thread Fernando Boaglio
Amazing, thanks! > You can place the following declaration under Host element: > > > ... > > showServerInfo="false" /> > > ... > > > Thus all web applications that belong to this Host will not have server > info in the default error pages. > > Regards, > Violeta > --

Re: thoughts about ErrorReportValve class

2015-08-12 Thread Violeta Georgieva
Hi, 2015-08-12 13:28 GMT+03:00 Fernando Boaglio : > > Hi Violeta, > > > ErrorReportValve.showServerInfo does exactly what you need - > > enables/disables server info depending on the value. > > Why do you need additional attribute on a server level? > > > > Regards, > > Violeta > > I thought it wa

Re: thoughts about ErrorReportValve class

2015-08-12 Thread Fernando Boaglio
Hi Violeta, > ErrorReportValve.showServerInfo does exactly what you need - > enables/disables server info depending on the value. > Why do you need additional attribute on a server level? > > Regards, > Violeta I thought it was a right place to be, since disable server signature is a global featu

Re: thoughts about ErrorReportValve class

2015-08-11 Thread Violeta Georgieva
Hi, 2015-08-12 6:33 GMT+03:00 Fernando Boaglio : > > Hi, > > I would like to code a server flag to Tomcat using the same idea of > Apache HTTP ServerSignature ( > http://ask.xmodulo.com/turn-off-server-signature-apache-web-server.html > ). > > So I started digging into the source and I found Error

thoughts about ErrorReportValve class

2015-08-11 Thread Fernando Boaglio
Hi, I would like to code a server flag to Tomcat using the same idea of Apache HTTP ServerSignature ( http://ask.xmodulo.com/turn-off-server-signature-apache-web-server.html ). So I started digging into the source and I found ErrorReportValve class, which already have a showServerInfo attribute a