Apache's limit to POST request size

2019-01-24 05:30发布

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条回答
等我变得足够好
2楼-- · 2019-01-24 05:40

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

查看更多
登录 后发表回答