Hi, Do you guys know how to tell if Apache 2.2 is the one that loading the static page instead of mongrel? For example, (May be the log file will tell, if the image is loaded by apache instead of mongrel). I want to make Apache 2.2 to load static resources instead of using mongrel. For example : one of the image url. Both of these load correctly in browser http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707 http://www.domain.com/assets/0000/0016/picture1.jpg Thank you in advance, B -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2007-Nov-14 18:10 UTC
Re: Apache 2.2 ProxyPass static Resources + Mongrel
On 14 Nov 2007, at 16:45, Beta Beta wrote:> > Hi, > > Do you guys know how to tell if Apache 2.2 is the one that loading the > static page instead of mongrel? For example, (May be the log file > will > tell, if the image is loaded by apache instead of mongrel). I want to > make Apache 2.2 to load static resources instead of using mongrel. > > For example : one of the image url. Both of these load correctly in > browser > http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707 > http://www.domain.com/assets/0000/0016/picture1.jpgJust off the top of my head: kill all your mongrels, if the urls still work then the images are being served by apache. Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Good idea and the simplest test ever. :) Frederick Cheung wrote:> On 14 Nov 2007, at 16:45, Beta Beta wrote: > >> browser >> http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707 >> http://www.domain.com/assets/0000/0016/picture1.jpg > > > Just off the top of my head: kill all your mongrels, if the urls still > work then the images are being served by apache. > > Fred-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---