Update: El Capitan follows the same procedures, but you may have some difficulty with the compile/install, see the secation at the bottom for specific help with El Capitan
Installing mod_xsendfile for apache is atually quite simple, however I could find very little documentation out there. Here's my attempt to help out. In order to proceeed you'll need:
- XCode intstalled including the "command line tools" (http://railsapps.github.io/xcode-command-line-tools.html)
- Source code (https://github.com/nmaier/mod_xsendfile)
- Apache 2.4 installed (comes with yosemite by default)