Well, based on your setup, and if you copied one of the examples on the web already, you should be serving the video from apache anyway already. If not, there are plenty of examples on the web you can search for "apache mongrel"
The main one is http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/ Add in checks for .flv files that exist and it should then be served by apache. Also, you could store the files in a directory that isn't under the mongrel proxy and have apache sent that, or use xsendfile. On 9/13/07, Joel Nylund <[EMAIL PROTECTED]> wrote: > Hi, on my site I have several screen casts (using flash video flv) in > addition to the normal rails application which is the core service, > my setup is apache proxy/balancing to 2 mongrels. > > I was thinking I should probably not be serving up streaming video > from mongrel as it will occupy the mongrel processes for long periods > of time right? > > So I was thinking of excluding a directory from the proxy and serving > videos up from apache. > > Does anyone have an example of how to do this and or agree its a good > idea to not serve the videos from mongrel and offload this work to > apache? > > thanks > Joel > > _______________________________________________ > Mongrel-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-users > _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
