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, 2020 in Linux Administration by akhtar
• 38,230 points
1,410 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, 2020 by MD
• 95,440 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 392 views
0 votes
2 answers

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

Hi guys I was facing same problem as ...READ MORE

answered Nov 21, 2020 in Linux Administration by anonymous
• 140 points
43,380 views
0 votes
0 answers
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
943 views
+6 votes
17 answers

What are job opportunities as a Linux System Administrator?

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

answered Jul 19, 2018 in Career Counselling by eatcodesleeprepeat
• 4,710 points
10,214 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,890 points
2,166 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, 2020 in Linux Administration by MD
• 95,440 points
3,631 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP