# Apache 2.2 ProxyPass static Resources + Mongrel

**URL:** <https://www.ruby-forum.com/t/apache-2-2-proxypass-static-resources-mongrel/120191>\
**Category:** Rails\
**Created:** [November 14, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/apache-2-2-proxypass-static-resources-mongrel/120191 "2007-11-14T17:45:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![betame342](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/90db22/32.png) [@betame342](https://www.ruby-forum.com/u/betame342)\
**Post date:** [November 14, 2007, 5:45pm UTC](https://www.ruby-forum.com/t/apache-2-2-proxypass-static-resources-mongrel/120191/1 "2007-11-14T17:45:42Z")

</div>

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?1195019707)  
[http://www.domain.com/assets/0000/0016/picture1.jpg](http://www.domain.com/assets/0000/0016/picture1.jpg)

Thank you in advance,  
B

---

<div class="post-metadata">

**Author:** ![betame342](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/90db22/32.png) [@betame342](https://www.ruby-forum.com/u/betame342)\
**Post date:** [November 14, 2007, 7:11pm UTC](https://www.ruby-forum.com/t/apache-2-2-proxypass-static-resources-mongrel/120191/2 "2007-11-14T19:11:00Z")

</div>

On 14 Nov 2007, at 16:45, Beta B. wrote:

> browser  
> [http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707](http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707)  
> [http://www.domain.com/assets/0000/0016/picture1.jpg](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

---

<div class="post-metadata">

**Author:** ![betame342](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/90db22/32.png) [@betame342](https://www.ruby-forum.com/u/betame342)\
**Post date:** [November 14, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/apache-2-2-proxypass-static-resources-mongrel/120191/3 "2007-11-14T21:16:09Z")

</div>

Good idea and the simplest test ever. 🙂

Frederick C. wrote:

> On 14 Nov 2007, at 16:45, Beta B. wrote:
> 
> > browser  
> > [http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707](http://www.domain.com/assets/0000/0016/picture1.jpg?1195019707)  
> > [http://www.domain.com/assets/0000/0016/picture1.jpg](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
