ERROR Request entity too large. Request exceeds the capacity limit

0 votes

Hi Guys,

I am trying to download one file using Apache server, but it shows me the below error.

ERROR: Request entity too large. Request exceeds the capacity limit

And Apache error_log has the following error.

Request content-length of 294135 is larger than the configured limit of 262144

How can I solve this error?

May 11 in Linux Administration by akhtar
• 11,250 points
27 views

1 answer to this question.

0 votes

Hi@akhtar,

The file download size limit is controlled by the Apache directive “LimitRequestBody“. By default, it is not set, which means unlimited or virtually no limit in the POST requests. If the directive is set to a specific size, then exceeding that size will produce an error. So to avoid this error edit the httpd.conf file and remove or comment out the directive.

#LimitRequestBody 262144

Hope this will help.

answered May 11 by MD
• 24,500 points

Related Questions In Linux Administration

0 votes
0 answers

Error while enabling the official puppet

I'm trying to enable the official puppet lab ...READ MORE

Feb 27, 2019 in Linux Administration by mytamhuyet
• 120 points

edited Apr 10, 2019 by mytamhuyet 46 views
0 votes
1 answer

Job for httpd.service failed because the control process exited with error code.

Hi@akhtar, This problem is caused due to SELinux. It ...READ MORE

answered Apr 23 in Linux Administration by MD
• 24,500 points
112 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,240 points
144 views
+5 votes
17 answers

What are job opportunities as a Linux System Administrator?

I just started working professionally as a ...READ MORE

answered Jul 18, 2018 in Career Counselling by eatcodesleeprepeat
• 4,750 points
1,448 views
0 votes
1 answer

setting a variable output from a bash command

You can use $(command), which in my ...READ MORE

answered Feb 15, 2019 in Linux Administration by DareDev
• 6,850 points
429 views
0 votes
1 answer

Proxy Error the proxy server received an invalid response from an upstream server.

Hi@akhtar, I think you did not configure your ...READ MORE

answered Apr 22 in Linux Administration by MD
• 24,500 points
74 views