# Apache2 w/ proxy balance and Rails: 404 error

**URL:** <https://www.ruby-forum.com/t/apache2-w-proxy-balance-and-rails-404-error/88876>\
**Category:** Rails\
**Created:** [March 15, 2007, 8:32am UTC](https://www.ruby-forum.com/t/apache2-w-proxy-balance-and-rails-404-error/88876 "2007-03-15T08:32:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arkade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/958977/32.png) [@arkade](https://www.ruby-forum.com/u/arkade)\
**Post date:** [March 15, 2007, 8:32am UTC](https://www.ruby-forum.com/t/apache2-w-proxy-balance-and-rails-404-error/88876/1 "2007-03-15T08:32:24Z")

</div>

Hi,  
I’m using proxy balancer to pass requests to a cluster of mongrels.  
When I try and access a non-existant page I get back a page with a  
text header, then the html of the correct 404 page. The browser  
renders this page as plain text. If I bypass apache and hit the  
mongrels directly on their ports I get the correctly rendered page.

Any suggestions?

Thanks,  
Rob.
