Bug 76332 - Apache upload limit
Apache upload limit
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-20 00:59 EDT by Leon
Modified: 2007-04-18 12:47 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-10-20 00:59:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Leon 2002-10-20 00:59:02 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721

Description of problem:
I have writen a php file to upload files, but I get an error 413.  The size of
the files are about 6 MB, however I have set the following parameters
(memory_limit, post_max_size & upload_max_filesize) in the php.ini above 6 MB.

Looking at the apache error logs I see:
Requested content-length of XXXXXXX is larger than the configured limit of
524288, referer: http://XXXXXXXX

I have looked at both php.ini and httpd.conf for a setting of 524288.  But had
no luck.

I also tried the following setting in the httpd.conf 
  LimitRequestBody 0
But, still got the same error message.

How do I change apache to recieve files larger the 512kb?

P.S. The upload does work for files less than 512kb.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Open the php web file
2. Select a large file to upload
3. When submitted I get an error 413
	

Additional info:
Comment 1 Joe Orton 2002-11-05 06:24:22 EST
You need to edit the file /etc/httpd/conf.d/php.conf and alter the
LimitRequestBody setting for PHP scripts.

Note You need to log in before you can comment on or make changes to this bug.