You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Jeffrey D. Means" <me...@meanspc.com> on 2003/04/01 04:37:21 UTC

[users@httpd] strange error message in my logs and I can not use a post to load large form data

I am getting a strange error message in my error log file about a file
size limit that I can not find any documentation for in the apache docs.
I am running Apache 2.0 from RedHat 8.0 with all updates applied, and
PHP 4.2.2 again loaded from RedHat 8.0.  The following is the error
message that is confusing me:  
 
[Mon Mar 31 19:21:06 2003] [error] [client 192.168.100.2] Requested
content-length of 600250 is larger than the configured limit of 524288,
referrer: http://www.picotech.net/~html8/admin/new_item.html
 
Where can I change this setting so my web site will work with large
POSTs??
---
Jeffrey D. Means
CIO for MeansPC
HYPERLINK "mailto:meaje@meanspc.com"meaje@meanspc.com HYPERLINK
"http://www.meanspc.com"http://www.meanspc.com
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 

RE: [users@httpd] strange error message in my logs and I can not use a post to load large form data

Posted by "Jeffrey D. Means" <me...@meanspc.com>.
Found my problem but it was not in php.ini it was in the php.conf file
in the /etc/httpd/conf.d directory with a line specifying '
LimitRequestBody 524288' hope this helps someone else....

---
Jeffrey D. Means
CIO for MeansPC
meaje@meanspc.com http://www.meanspc.com

-----Original Message-----
From: Zac Stevens [mailto:zts@cryptocracy.com] 
Sent: Monday, March 31, 2003 8:38 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] strange error message in my logs and I can
not use a post to load large form data

Hi Jeffrey,

On Mon, Mar 31, 2003 at 07:37:21PM -0700, Jeffrey D. Means wrote:
> [Mon Mar 31 19:21:06 2003] [error] [client 192.168.100.2] Requested
> content-length of 600250 is larger than the configured limit of
524288,
> referrer: http://www.picotech.net/~html8/admin/new_item.html
>  
> Where can I change this setting so my web site will work with large
> POSTs??

I presume it is a PHP page which is generating this message?  As far as
I
know, Apache imposes no such limits while PHP has configuration options
to
specify them.  I seem to recall that 512KB was the default limit, but I
do
not have a PHP installation handy to check.

Have a look for PHP options starting with 'max_' and you should be able
to
sort it out.

Cheers,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] strange error message in my logs and I can not use a post to load large form data

Posted by Zac Stevens <zt...@cryptocracy.com>.
Hi Jeffrey,

On Mon, Mar 31, 2003 at 07:37:21PM -0700, Jeffrey D. Means wrote:
> [Mon Mar 31 19:21:06 2003] [error] [client 192.168.100.2] Requested
> content-length of 600250 is larger than the configured limit of 524288,
> referrer: http://www.picotech.net/~html8/admin/new_item.html
>  
> Where can I change this setting so my web site will work with large
> POSTs??

I presume it is a PHP page which is generating this message?  As far as I
know, Apache imposes no such limits while PHP has configuration options to
specify them.  I seem to recall that 512KB was the default limit, but I do
not have a PHP installation handy to check.

Have a look for PHP options starting with 'max_' and you should be able to
sort it out.

Cheers,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org