I need to proxy images from facebook through a different url (one which I can put a crossdomain.xml file)
Im currently using like 20 mongrels where I run: def index return unless params[:url].include?("facebook.com") headers['Content-Type'] = 'image/jpeg' headers['Cache-Control'] = 'public' headers['Expires'] = 'Mon, 28 Jul 2020 23:30:00 GMT' open(params[:url]).read end However, this will not scale. Since if hundred people are requesting images at the same time, many will get dropped. Im thinking that I could do something with apache mod_proxy but I dont know anything about it. Im sure for a seasoned deployment guru, this probably like 4 lines of code in some apache config file. Any ideas? Thanks in advance. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---