Anthony DiSante wrote:
I'm running Apache 2.0.54 on a Linux system here. Across my LAN, I can upload a 1.4GB file to it via POST with a CGI script, no problem. But if I try to upload a 2.1GB file, the upload never starts; the server refuses it.I checked the server's access log to see what was going on. When the client was Internet Explorer, the access log shows just a single line:192.168.1.10 - - [10/Feb/2006:06:58:22 -0500] "POST /cgi-bin/upload/filechucker.cgi?&serial=1182736... HTTP/1.1" 413 428 "http://192.168.1.5/cgi-bin/upload/filechucker.cgi" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"As you can see, the response code is 413, which is "Request Entity Too Large". And the client receives an error page in the browser.When the client is Firefox, however, the request is never logged at all, and no error is sent to the browser -- it just sits there as though you'd never attempted to start the upload in the first place.In both cases, though, the upload never even begins. I'm trying to figure out why this is. The Apache docs mention a LimitRequestBody directive which would seem to be it, except that it defaults to 0, i.e. unlimited. And even when I explicitly set it to 0 in my Apache config, I get the same behavior.Can anyone else confirm this behavior, or report that they actually CAN upload a file >2GB? Or is there some other setting that could be limiting the size of POST data?
And just to clarify, the server's filesystem is ext3; it does support files >2GB, i.e.:
[server]$ dd if=/dev/zero of=/tmp/file2.2GB.junk bs=512 count=4500000 4500000+0 records in 4500000+0 records out [server]$ ls -alh /tmp/file2.2GB.junk -rw-r--r-- 1 me users 2.2G Feb 10 07:36 /tmp/file2.2GB.junk [server]$ ls -al /tmp/file2.2GB.junk -rw-r--r-- 1 me users 2304000000 Feb 10 07:36 /tmp/file2.2GB.junk -- Anthony DiSante Encodable Industries http://encodable.com/ --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx