Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Partial results are valid but processing is incomplete: xsendfile: unable to stat file #8
Apache version: 2.2
Getting the following error:
The module works fine on Windows XP Pro 32-bit. Possibly related to this: http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial-5.html and this: https://issues.apache.org/bugzilla/show_bug.cgi?id=51020
I put a quick fix/hack on my side to make it work in our environment:
Changed this line:
To this line:
Just wanted to note that the ideal solution to this problem would be Apache APR fixing the methods used to query permissions (GetEffectiveRightsFromAcl http://support.microsoft.com/kb/2018746). I've logged a bug with them but I'd still love to see a fix in mod_xsendfile, as I don't even know if they can or will fix the issue or when they'll get around to it.
I don't know if the developer has decided how to handle this fix as it's a tricky problem. The real error is with Apache's own "Apache Portable Runtime". If the developer fixes it in his module, it'll not check if it has access to the file properly (won't allow for permissions) which might cause people unexpected issues. Or he can wait for Apache to fix APR on Windows, which would in turn fix his module without any changes.
If you're still being affected by this issue, use the link I mentioned above and vote up the bug to get it more attention :)