If you set maxHttpHeaderSize to 0 the server doesn't even generate a response (or at least it generates a response of size -1) :-) , so that option won't work.
On 4/10/07, Martin Gainty <[EMAIL PROTECTED]> wrote:
in server.xml set maxHttpHeaderSize to 0 should accomplish the objective
In Tomcat 5.x, there's no other attribute on the Http Connector http://tomcat.apache.org/tomcat-5.0-doc/config/http.html that sets server information off. However in Tomcat 6.x there's an attribute server http://tomcat.apache.org/tomcat-6.0-doc/config/http.html, but that attribute doesn't seem to work when tested on Tomcat 6.0.10. If you set the server attribute to a different value it doesn't seem to mask or hide the HTTP Server header. Based on the documentation I've seen so far, I conclude that there may not be a way to hide the server information in Tomcat 5.x. -Rashmi --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]