A little update...
x_send_file is just fine.
The install instructions are a little broken, but eventually it works.
Get it from:
After create the extension with:
apxs2 -cia mod_xsendfile.c
the extension gets copied to some default apache modules directory,
and not necessarily to where you need it. In my case it went to:
So, I copied that to my Apache modules directory, loaded it, and it
runs just fine.
Next, I need to change the Ruby plugin so that it only loads in
production. Otherwise, my development and test environments don't
download anymore (as I don't have xsendfile via mongrel directly).
That should be simple enough to do with the RAILS_ENV variable.
The bottom line is, download contents gets served just fine with zero