X-Sendfile and VERY big files on Apache2

1.1k Views Asked by At

Any filesize over about 4GB is not going to work with the mod_xsendfile for Apache2 (as it sets the content length to a long).

I am willing to rewrite it to support this; however, I can find no documentation on how to set content length from the apache api to something larger than a long and thus serve large files through Apache. I know Apache can do this as it is compiled with Large File Support and is serving the files through the directory index without any issue.

I need to use Apache as I am using WSGI. I do not want to use FastCGI or switch off Apache2 for various reasons I do not feel like getting into.

Thanks.

2

There are 2 best solutions below

0
On BEST ANSWER

Location of the Beta for mod_xsendfile on Apache2

0
On

I have discovered the answer. Use the BETA version provided. It seems to fix this issue.