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.
Asked
Active
Viewed 5.6k times
15

roman
- 5,100
- 14
- 44
- 77
1 Answers
22
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).

aefxx
- 24,835
- 6
- 45
- 55
-
3While `LimitRequestBody` defaults to unlimited, note that `LimitXMLRequestBody` defaults to 1 MB. – quietmint Apr 15 '15 at 16:33