Apache's limit to POST request size

◇◆丶佛笑我妖孽 提交于 2019-11-30 07:25:56

问题


Is there any limit of the POST request size in apache? What is the default value of this limit and is there any way to increase it? If it matters, Rails application is started on this server using passenger.


回答1:


The limit in Apache is set via the LimitRequestBody directive and defaults to 0:

This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a request body.

Take a look at the full description of Apache's LimitRequestBody directive.

Besides that Rails may impose a limit itself (cant't tell though b/c I've never programmed in Ruby).



来源:https://stackoverflow.com/questions/11686288/apaches-limit-to-post-request-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!