# Issue with mongrel and apache

**URL:** <https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243>\
**Category:** Ruby\
**Created:** [July 26, 2010, 10:21pm UTC](https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243 "2010-07-26T22:21:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![internet2cash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5fc32e/32.png) [@internet2cash](https://www.ruby-forum.com/u/internet2cash)\
**Post date:** [July 26, 2010, 10:21pm UTC](https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243/1 "2010-07-26T22:21:46Z")

</div>

I just upgraded rails to 2.3.8 on my test server and now the apache is  
adding an Content-Type:  
text/plain to the outgoing response. If i just go the the mongrel port  
it  
renders the response correctly.

this is an windows box with ruby 1.8.6, rails 2.3.8 and mongrel 1.1.5

A photo of what is the response is here:  
[http://picasaweb.google.com/lh/photo/mnaRkeVJVX2Nxw4r1z5g6w?feat=directlink](http://picasaweb.google.com/lh/photo/mnaRkeVJVX2Nxw4r1z5g6w?feat=directlink)

Thanks,

* * *

Allan D.  
Member of NetBeans Dream Team  
[http://wiki.netbeans.org/NetBeansDreamTeam](http://wiki.netbeans.org/NetBeansDreamTeam)  
Lead Developer, nbPython  
[http://wiki.netbeans.org/Python](http://wiki.netbeans.org/Python)  
[http://codesnakes.blogspot.com](http://codesnakes.blogspot.com) (my blog)  
[http://www.linkedin.com/in/javaalley](http://www.linkedin.com/in/javaalley)

---

<div class="post-metadata">

**Author:** ![internet2cash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5fc32e/32.png) [@internet2cash](https://www.ruby-forum.com/u/internet2cash)\
**Post date:** [July 27, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243/2 "2010-07-27T14:17:31Z")

</div>

Allan D. wrote:

> I just upgraded rails to 2.3.8 on my test server and now the apache is  
> adding an Content-Type:  
> text/plain to the outgoing response. If i just go the the mongrel port  
> it  
> renders the response correctly.

On all browsers? Also you may want to ping the RoR ML.  
-r

---

<div class="post-metadata">

**Author:** ![internet2cash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5fc32e/32.png) [@internet2cash](https://www.ruby-forum.com/u/internet2cash)\
**Post date:** [July 27, 2010, 2:32pm UTC](https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243/3 "2010-07-27T14:32:15Z")

</div>

On firefox and chrome it did the same thing. On IE7 it rendered  
correctly.

Thanks,I will check the RoR list.

## Thanks,

Allan D.  
Member of NetBeans Dream Team  
[http://wiki.netbeans.org/NetBeansDreamTeam](http://wiki.netbeans.org/NetBeansDreamTeam)  
Lead Developer, nbPython  
[http://wiki.netbeans.org/Python](http://wiki.netbeans.org/Python)  
[http://codesnakes.blogspot.com](http://codesnakes.blogspot.com) (my blog)  
[http://www.linkedin.com/in/javaalley](http://www.linkedin.com/in/javaalley)

---

<div class="post-metadata">

**Author:** ![internet2cash](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/5fc32e/32.png) [@internet2cash](https://www.ruby-forum.com/u/internet2cash)\
**Post date:** [July 27, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/issue-with-mongrel-and-apache/192243/4 "2010-07-27T22:18:18Z")

</div>

Just wanted to let everyone know i sloved the issue. There is a bug in  
mongrel that causes it to return test when you use rails 2.3.8. I chose  
to  
roll back to 2.3.5 and it worked.  
Here are the links to what i found  
[http://stackoverflow.com/questions/2911852/problems-running-ruby-on-rails-apps-on-shared-hosted-server](http://stackoverflow.com/questions/2911852/problems-running-ruby-on-rails-apps-on-shared-hosted-server)  
[http://stackoverflow.com/questions/2911852/problems-running-ruby-on-rails-apps-on-shared-hosted-server](http://stackoverflow.com/questions/2911852/problems-running-ruby-on-rails-apps-on-shared-hosted-server)

> **[\#4690 Mongrel doesn't work with rails 2.3.8 - Ruby on Rails - rails](https://rails.lighthouseapp.com/projects/8994/tickets/4690)**

## [https://rails.lighthouseapp.com/projects/8994/tickets/4690](https://rails.lighthouseapp.com/projects/8994/tickets/4690)Thanks,

Allan D.  
Member of NetBeans Dream Team  
[http://wiki.netbeans.org/NetBeansDreamTeam](http://wiki.netbeans.org/NetBeansDreamTeam)  
Lead Developer, nbPython  
[http://wiki.netbeans.org/Python](http://wiki.netbeans.org/Python)  
[http://codesnakes.blogspot.com](http://codesnakes.blogspot.com) (my blog)  
[http://www.linkedin.com/in/javaalley](http://www.linkedin.com/in/javaalley)
