I am using php and xsendfile to serve some large (25-50mb) files.
I have xsendfile enabled and am using the code
where $fullPath is the (derp) full path to the file... starting with /home/username/blahblah...
Using php's readfile, this finds the file fine, but is not a viable solution because of the size of the files.
When using xsendfile, the header is sent, but the file is not being found for some reason. I am only getting a webpage not found error.