Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 53267 invoked from network); 8 Jan 2005 03:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jan 2005 03:17:36 -0000 Received: (qmail 82634 invoked by uid 500); 8 Jan 2005 03:17:28 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 82619 invoked by uid 500); 8 Jan 2005 03:17:28 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 82605 invoked by uid 99); 8 Jan 2005 03:17:28 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_20_30,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web54401.mail.yahoo.com (HELO web54401.mail.yahoo.com) (68.142.225.157) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 07 Jan 2005 19:17:26 -0800 Received: (qmail 36254 invoked by uid 60001); 8 Jan 2005 03:17:24 -0000 Message-ID: <20050108031724.36252.qmail@web54401.mail.yahoo.com> Received: from [144.160.130.16] by web54401.mail.yahoo.com via HTTP; Fri, 07 Jan 2005 19:17:24 PST Date: Fri, 7 Jan 2005 19:17:24 -0800 (PST) From: Joe Smith To: users@httpd.apache.org In-Reply-To: <006801c4f512$348ae1f0$55dc9a04@nill> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-8306099-1105154244=:32329" X-Virus-Checked: Checked Subject: [users@httpd] conf file for virtual host setting X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-8306099-1105154244=:32329 Content-Type: text/plain; charset=us-ascii Where is the conf file for VirtualHost setting? I already put LimitRequestBody 204800000 in /usr/HTTPServer/conf/httpd.conf. There is a virtual host section in httpd.conf? I couldn't see that and I put along with other settings likd KeepAlive, TimeOut, etc... The following files are in /usr/HTTPServer/conf admin.conf 4,292 2005-01-06 19:46:54 admin.conf.20050106 4,265 2005-01-06 19:46:13 admin.msg.en_US 8,183 2004-11-10 23:13:27 httpd.conf 23,340 2005-01-06 19:10:52 httpd.conf.default 22,724 2004-11-10 23:13:25 httpd.conf.sample 47,016 2004-11-10 23:13:24 ldap.prop.sample 8,137 2004-11-10 23:13:26 magic 12,965 2004-04-06 12:14:53 magic.default 12,965 2004-11-10 23:13:25 mime.types 12,459 2004-11-10 23:26:11 mime.types.default 12,381 2004-11-10 23:13:24 Leif W wrote: > Joe Smith; 2005 January 07 Friday 10:52 > > I added the line LimitRequestBody 204800000 to > /usr/HTTPServer/conf/httpd.conf, in order to maximize the upload file First of all, is that the correct context? According to the manual ( http://httpd.apache.org/docs-2.0/mod/core.html#limitrequestbody ), this directive can appear in the main server config or in virtual server ( ) sections. It may be that you have put the directive in the main server config, yet you're trying to control the VirtualHost and it's not being seen or inherited. I do not know if this directive in a server context will automatically be inherited by a virtual server. It may be. Perhaps someone else can shed light upon that behavior. > size. Currently, the Apache web server returns HTTP response > "HTTP/1.1 413 Request Entity Too Large" immediately to the browser if > file size > 10MB. Second of all, there may be other mechanisms which are limiting file upload size besides Apache. Are you using a specific script to upload the file? The scripting engine (such as PHP) can configure and impose its own file upload limitations, for instance, and an upload script may be written in such a way as to produce an error response with headers as you've shown. So can Perl's CGI.pm module. > Even I added LimitRequestBody setting, and restarted the server by > sudo > /usr/HTTPServer/bin/apachectl stop, sudo /usr/HTTPServer/bin/apachectl > start, it is still unable to upload a huge file size. > > By the way, this is the HTTP response: > HTTP/1.1 413 Request Entity Too Large > Date: Thu, 06 Jan 2005 00:25:50 GMT > Server: IBM_HTTP_SERVER/1.3.26.2 Apache/1.3.26 (Unix) > Connection: close > Transfer-Encoding: chunked > Content-Type: text/html; charset=iso-8859-1 > > any ideas? please help. thanks!! If you change an Apache config, and do not see the expected results, it's either the wrong config file, wrong context, possibly wrong syntax (even though a syntax check is OK and Apache starts without error messages and runs normally except for the behavior you're trying to modify), or possibly something outside of Apache. If it is within Apache, check your error logs to see and verify at what point the failure occurs if it's caused by Apache. Leif --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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 --------------------------------- Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. --0-8306099-1105154244=:32329 Content-Type: text/html; charset=us-ascii
Where is the conf file for VirtualHost setting? I already put LimitRequestBody 204800000 in /usr/HTTPServer/conf/httpd.conf. There is a virtual host section in httpd.conf? I couldn't see that and I put along with other settings likd KeepAlive, TimeOut, etc...
The following files are in /usr/HTTPServer/conf
 
  admin.conf   4,292   2005-01-06 19:46:54
  admin.conf.20050106   4,265   2005-01-06 19:46:13
  admin.msg.en_US   8,183   2004-11-10 23:13:27
  httpd.conf   23,340   2005-01-06 19:10:52
  httpd.conf.default   22,724   2004-11-10 23:13:25
  httpd.conf.sample   47,016   2004-11-10 23:13:24
  ldap.prop.sample   8,137   2004-11-10 23:13:26
  magic   12,965   2004-04-06 12:14:53
  magic.default   12,965   2004-11-10 23:13:25
  mime.types   12,459   2004-11-10 23:26:11
  mime.types.default   12,381   2004-11-10 23:13:24
 

Leif W <warp-9.9@usa.net> wrote:
> Joe Smith; 2005 January 07 Friday 10:52
>
> I added the line LimitRequestBody 204800000 to
> /usr/HTTPServer/conf/httpd.conf, in order to maximize the upload file

First of all, is that the correct context? According to the manual (
http://httpd.apache.org/docs-2.0/mod/core.html#limitrequestbody ), this
directive can appear in the main server config or in virtual server (
) sections. It may be that you have put the directive in
the main server config, yet you're trying to control the VirtualHost and
it's not being seen or inherited. I do not know if this directive in a
server context will automatically be inherited by a virtual server. It
may be. Perhaps someone else can shed light upon that behavior.

> size. Currently, the Apache web server returns HTTP response
> "HTTP/1.1 413 Request Entity Too Large" immediately to the browser if
> file size > 10MB.

Second of all, there may be other mechanisms which are limiting file
upload size besides Apache. Are you using a specific script to upload
the file? The scripting engine (such as PHP) can configure and impose
its own file upload limitations, for instance, and an upload script may
be written in such a way as to produce an error response with headers as
you've shown. So can Perl's CGI.pm module.

> Even I added LimitRequestBody setting, and restarted the server by
> sudo
> /usr/HTTPServer/bin/apachectl stop, sudo /usr/HTTPServer/bin/apachectl
> start, it is still unable to upload a huge file size.
>
> By the way, this is the HTTP response:
> HTTP/1.1 413 Request Entity Too Large
> Date: Thu, 06 Jan 2005 00:25:50 GMT
> Server: IBM_HTTP_SERVER/1.3.26.2 Apache/1.3.26 (Unix)
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: text/html; charset=iso-8859-1
>
> any ideas? please help. thanks!!

If you change an Apache config, and do not see the expected results,
it's either the wrong config file, wrong context, possibly wrong syntax
(even though a syntax check is OK and Apache starts without error
messages and runs normally except for the behavior you're trying to
modify), or possibly something outside of Apache. If it is within
Apache, check your error logs to see and verify at what point the
failure occurs if it's caused by Apache.

Leif



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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


Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more. --0-8306099-1105154244=:32329--