I am trying to user XSendFile in my application.
I have installed the plugin and in the environment.rb included this line
XSendFile::Plugin.replace_send_file!
but it is unable to read the files.
Earlier i had used send_file but it increases the mongrel size and slows
down the application.
Any suggestions about how to make it work?
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
On 8/7/07, Neha C. [email protected] wrote:
Posted via http://www.ruby-forum.com/.
–
Cheers!
No we are using Apache 2.2
Oh. No clue then. On totally irrelevant note, you should look into
nginx.
On 8/7/07, Neha C. [email protected] wrote:
No we are using Apache 2.2
Posted via http://www.ruby-forum.com/.
–
Cheers!