简体   繁体   English

Tomcat 6.0.x配置HTTP

[英]Tomcat 6.0.x configure HTTP

I need to configure the default maxHttpHeaderSize on the HTTP connector and I cant see where to configure it. 我需要在HTTP连接器上配置默认的maxHttpHeaderSize,但看不到在哪里配置它。 I believe it should be under the coyote connector but can only find the catalina attribute in the server.xml. 我相信它应该在土狼连接器下,但只能在server.xml中找到catalina属性。 Can someone edify me where to properly configure this to I can increase the default size of the header? 有人可以教我在哪里进行适当配置,以便可以增加标题的默认大小吗?

From the Tomcat 6 docs, http://tomcat.apache.org/tomcat-6.0-doc/config/http.html 从Tomcat 6文档中, http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

You can configure the maxHttpHeaderSize within the HTTP/1.1 <Connector> already defined within the Catalina <Service> in server.xml 您可以在server.xml的Catalina <Service>中已定义的HTTP/1.1 <Connector>配置maxHttpHeaderSize

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM