XSendFile problem

I don't think XSendFile works with mongrel. Do you have lighttpd in front of mongrel ?

If not, check http://www.gemjack.com/gems/mongrel_secure_download-0.1/classes/SecureDownload.html

Thanks, Pratik

Oh. No clue then. On totally irrelevant note, you should look into nginx.