Pete
2007-May-11 05:07 UTC
Pound for Rails Apps breaks stylesheets and images, any suggestions?
I''d like to setup the following using pound. www.department.state.edu/myapp1/ www.department.state.edu/myapp2/ www.department.state.edu/nonrailsapp1/ www.department.state.edu/nonrailsapp2/ I can get it to work for the non rails apps, but my rails stylesheets and images are broken. I would like to set this up so the stylesheets and images in the rails app public folders still work. Any suggestions? Thanks very much in advance! - Pete --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Peter De Berdt
2007-May-11 15:46 UTC
Re: Pound for Rails Apps breaks stylesheets and images, any suggestions?
On 11 May 2007, at 07:07, Pete wrote:> I''d like to setup the following using pound. > > www.department.state.edu/myapp1/ > > www.department.state.edu/myapp2/ > > www.department.state.edu/nonrailsapp1/ > > www.department.state.edu/nonrailsapp2/ > > I can get it to work for the non rails apps, but my rails stylesheets > and images are broken. > > I would like to set this up so the stylesheets and images in the rails > app public folders still work. > > Any suggestions? > > Thanks very much in advance!You need to offload the serving of stylesheets and images to Apache. You can read up my instructions and config files at http:// forums.rimuhosting.com/forums/showthread.php?t=389 I''m putting Apache before Pound, because it allows me to only balance Rails apps, a normal account (that only uses static pages or php) is served up through Apache without having to update pound.cfg. Hope this helps! Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---