Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34516 - net-www/apache - Apache2 conf misses LimitRequestBody
Summary: net-www/apache - Apache2 conf misses LimitRequestBody
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High enhancement
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-27 06:47 UTC by Felix Buenemann
Modified: 2004-06-19 15:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Buenemann 2003-11-27 06:47:13 UTC
It would be nice if you could add the parameter LimitRequestBody in either apache2.conf or commonapache2.conf. The parameter limits the size of the request body and defaults to 524288 (512KB), which is not enough for eg. WebMail or phpMyAdmin database import.

Something like:
##
## Limit the size of the request body (in byte).
## Default: 524288
#LimitRequestBody 524288

Best Regards,
   Atmos
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-04-04 11:00:15 UTC
Added thanks for the bug report.
Comment 2 Timo A. Hummel 2004-06-19 05:06:16 UTC
Well, currently it seems that LimitRequestBody was added to 70_mod_php.conf, but with the defaults to the mentioned 512KB. 

I'd recommend a limit of at least 2MB (to match the upload_max_filesize parameter), but a default limit of 8MB would be even better.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-19 15:55:09 UTC
It is 8MB in 70_mod_php.conf already, I changed it to that a few days ago from a bug #49020 that is very similar to this.