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).