[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: serve web application content as gzip- compressed

PeterJ do-not-reply at jboss.com
Thu Sep 28 11:51:44 EDT 2006


Try setting the 'compression' attribute for the http connector in deploy/jbossweb-tomcat55.sar/server.xml.

Something like this:

<Connector port="8080" address="${jboss.bind.address}"
  |    maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
  |    emptySessionPath="true"
  |    enableLookups="false" redirectPort="8443" acceptCount="100"
  |    connectionTimeout="20000" disableUploadTimeout="true"
  |    compression="on" />

For documentation on the server.xml file, see the Tomcat docs at http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974937#3974937

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974937



More information about the jboss-user mailing list