Hello, I am having trouble getting apache to serve a file through the XSendFile when it is in a directory mounted with samba.
To give a little background: I have a Ruby on Rails app that is slowly replacing an ASP.NET application, and I have it running on a linux server running apache2 and passenger. The Windows machine that is running the ASP.NET code is sharing an upload directory that I have mounted via Samba.
Whenever I try to send a file using the X_SENDFILE header I get this in my apache server logs:
Partial results are valid but processing is incomplete: xsendfile: unable to stat file: /path/to/file
but when I manually type in: stat /path/to/file it will give me file statistics. I know the file is there. (I have also tried this after logging in as the user apache runs under) The file permissions as far as I can tell are correct.
Is there some kind of issue with apache's XSendFile and files over an SMB share?