Koozali.org: home of the SME Server

http and huge files

harkete

http and huge files
« on: August 13, 2007, 03:01:56 AM »
Hi,

I'm trying to make available a big file apprx. 5gb on the Primary i-bay of my server. Although it is there it does not show in the directory listing. If I try to type in the url to the file directly, I get "Value too large for defined data type: access to ... failed" in the error_log and 403 in the access_log. Am I doing something wrong or is this a bug? Using latest version of SME Server 7.2.

Tia
/Erik

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: http and huge files
« Reply #1 on: August 13, 2007, 04:59:50 AM »
Quote from: "harkete"
Am I doing something wrong or is this a bug?

Neither, it is a limitation in Apache.  You can not transfer a file greater than 2GB with Apache 2.0.

Try moving the file to the .../files directory and using ftp instead.
In life, you must either "Push, Pull or Get out of the way!"

Offline slords

  • *****
  • 235
  • +3/-0
Re: http and huge files
« Reply #2 on: August 14, 2007, 06:57:33 AM »
This is a limit of apache and probably will not be fixed for the 7.x stream.  8.x (based on COS5) has the newer version of apache that has fixed this issue.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook