今天客服说 好多页面 出现这样的问题
Request Entity Too Large
The requested resource
/product/453974-600/detail.htm
does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
但是我们这边(我,尤老板都访问很正常),
网上Google,看到了这个帖子
http://blog.csdn.net/linminqin/article/details/6362968
很遗憾的是 ,这个帖子引用的
http://builddeploy.blogspot.com/2009/04/resolving-http-error-413-request-entity.html
这个地址被墙了
但是基本上知道 要在workers.properties 里面加 max_packet_size 这个参数
,
max_packet_size
|
AJP,SUB
|
8192
|
This
attribute sets the maximal AJP packet size in Bytes.
The
maximum value is 65536.
If you
change it from the default, you must also change the
packetSize attribute of your AJP connector on the Tomcat side!
The
attribute packetSize is only available in Tomcat 5.5.20+ and 6.0.2+.
Normally
it is not necessary to change the maximum packet size.
Problems
with the default value have been reported when sending certificates or
certificate chains.
This
feature has been added in jk 1.2.19.
|
这个参数说的很清楚, 一般情况不需要配置这个参数(是什么原因导致2班情况要配置的呢?)
先tomcat ajp connector 加入 packetSize=”65536”
再在 workers.properties 加入
重启tomcat,重启apache
发现
Mod_jk.log 不再报异常了
- 大小: 202.1 KB
- 大小: 10.7 KB
- 大小: 12.7 KB
- 大小: 16.5 KB
分享到:
相关推荐
今天遇到一个问题,在PHP程序中上传图片出现了以下错误:HTTP:413 Request Entity Too Large。 开发环境:CentOS + Nginx + PHP + MySql 解决方案 解决此问题,根据上传数据文件的大小,需要调节PHP和Nginx相关的...
git首次提交代码到远程仓库提示413错误,错误信息如下 git push --set-upstream origin master Enumerating objects: 153, done. Counting objects: 100% (153/153), done. Delta compression using up to 4 ...
上传图片的时候,是用laravel自带的上传图片的方法,一下气上传了20张,结果就无情报错:413 Request Entity Too Large,后面查一下,这个报错信息是nginx报的错误,不是php报的错误。也就是说在上传图片的时候被...
在用 phpMyAdmin 进行 sql 数据库导入的时候,经常需要上传比较大的 sql 数据文件,而这时会常碰见 nginx报错:413 Request Entity Too Large。解决此问题,根据上传数据文件的大小进行修改处理
在用 phpMyAdmin 进行 sql 数据库导入的时候,经常需要上传比较大的 sql 数据文件,而这时会常碰见 nginx报错:413 Request Entity Too Large。 解决此问题,根据上传数据文件的大小,你需要调节两个地方的参数配置...
主要介绍了nginx、Apache、IIS三种服务器解决413 Request Entity Too Large问题的方法集合,需要的朋友可以参考下
在chorme版本 59.0.3071.115下,安装成功.
A_survey_of_named_entity_recognition_and_classification
Oracle PL/SQL程序设计(第5版)(上册) ★第一部分(part1)★ ——※ 注意:该电子书59M,分为2个压缩包, 需要将全部2个压缩包下载才能解压缩,单个部分无法解压。 此为第1个包,另外1个包可通过本人blog找到下载...
基于模板的BART命名实体识别_Template-Based Named Entity Recognition Using BART.pdf
EF 测试,用于初学者学习搭建entity framework Database First 模式,代码为网上教程的代码
cesium 功能拓展包,包括白模 避让等
Entity_Framework_学习 电子书 新手入门的好教程!
CCKS2019赛题《面向金融的事件主题》数据,为了方便以后下载,所以上传到CSDN上,因为在查找数据的时候发现只有train数据集,而没有eval数据集,所以上传上去,方便以后学习的时候下载。
C#的语法、文件操作、集合操作、数据库、多线程、Entity Framework等相关知识技巧和实例搜集整理文档。
Entity_Framework_Code_First_Succinctly.pdf 国外Entity_Framework_Code_First学习入门与进阶教程,PDF版的 方便学习