# Pound for Rails Apps breaks stylesheets and images, any sugg

**URL:** <https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879>\
**Category:** Rails\
**Created:** [May 11, 2007, 7:08am UTC](https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879 "2007-05-11T07:08:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cephas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@cephas](https://www.ruby-forum.com/u/cephas)\
**Post date:** [May 11, 2007, 7:08am UTC](https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879/1 "2007-05-11T07:08:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cephas](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@cephas](https://www.ruby-forum.com/u/cephas)\
**Post date:** [May 11, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/pound-for-rails-apps-breaks-stylesheets-and-images-any-sugg/103879/2 "2007-05-11T17:47:48Z")

</div>

On 11 May 2007, at 07:07, Pete wrote:

> 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](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
