# Need recommendations for apache configurations

**URL:** <https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375>\
**Category:** Rails\
**Created:** [July 28, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375 "2006-07-28T17:18:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/1 "2006-07-28T17:18:59Z")

</div>

I’m running a rails app on FedoraCore4 and so far have been using  
lighttpd and fastcgi. I’ve decided to switch to apache because lighttpd  
has been far too unstable, unpredictable, and slow. I don’t know if it’s  
lighttpd or the combination of lighttpd and fastcgi but it’s just not  
working for me. I need something that has been proven to work and apache  
definately has. I’ve been reading around I’ve discovered that certain  
installations of apache and mod\_fcgi may be unstable but I haven’t  
really found any up to date information. Can anyone recommend a good,  
fast, and stable combination of apache and fastcgi? Which versions of  
each should I use? Should I use mod\_fcgi or mod\_fcgid?

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/2 "2006-07-28T17:36:44Z")

</div>

The “kick butt” scenario is Apache + Mongrel (no fastcgi needed).

If you can dump fcgi and go to monrgel, check out:

[http://mongrel.rubyforge.org/index.html](http://mongrel.rubyforge.org/index.html)

[http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/](http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/)

I don’t have good links handy for Apache + fcgi (or fcgid). ☹

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 9:43pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/3 "2006-07-28T21:43:32Z")

</div>

Andrew S. wrote:

> The “kick butt” scenario is Apache + Mongrel (no fastcgi needed).
> 
> If you can dump fcgi and go to monrgel, check out:
> 
> [http://mongrel.rubyforge.org/index.html](http://mongrel.rubyforge.org/index.html)
> 
> [http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/](http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/)
> 
> I don’t have good links handy for Apache + fcgi (or fcgid). ☹

I looked inot Mongrel and it actually looks pretty cool. So while  
attempting to install the latest version I can across a problem. I don’t  
have the latest version of ruby. How do I go about updating it so I can  
test Mongrel out?

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/4 "2006-07-28T22:47:05Z")

</div>

Hi Sean,

this obviously depends on which environment your on. I for example am on  
gentoo linux or windows. On windows the one-click-installer (  
[http://rubyforge.org/projects/rubyinstaller/](http://rubyforge.org/projects/rubyinstaller/)) is your friend. On gentoo  
it’s  
as easy as emerge -u world or emerge -u ruby

So ymmv. What system is it that you are on. Probably someone else is  
using  
is and might jump in to help you…

Cheers,  
Jan

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 10:50pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/5 "2006-07-28T22:50:58Z")

</div>

Jan P. wrote:

> Hi Sean,
> 
> this obviously depends on which environment your on. I for example am on  
> gentoo linux or windows. On windows the one-click-installer (  
> [http://rubyforge.org/projects/rubyinstaller/](http://rubyforge.org/projects/rubyinstaller/)) is your friend. On gentoo  
> it’s  
> as easy as emerge -u world or emerge -u ruby
> 
> So ymmv. What system is it that you are on. Probably someone else is  
> using  
> is and might jump in to help you…
> 
> Cheers,  
> Jan

I’m using FedoraCore4

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 28, 2006, 10:59pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/6 "2006-07-28T22:59:52Z")

</div>

My first guess was something like rpm -U ruby-1.8.4.rpm . Then I found  
[http://fedoranews.org/cms/node/1386](http://fedoranews.org/cms/node/1386) . Do you know the update manager  
yum?  
I’ve never been on Fedora myself. But a bit of googling or searching on  
the  
mailing list archives should get you going in no time…

Cheers,  
Jan

---

<div class="post-metadata">

**Author:** ![bungoman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/77aa72/32.png) [@bungoman](https://www.ruby-forum.com/u/bungoman)\
**Post date:** [July 31, 2006, 5:28pm UTC](https://www.ruby-forum.com/t/need-recommendations-for-apache-configurations/100375/7 "2006-07-31T17:28:19Z")

</div>

Jan P. wrote:

> My first guess was something like rpm -U ruby-1.8.4.rpm . Then I found  
> [http://fedoranews.org/cms/node/1386](http://fedoranews.org/cms/node/1386) . Do you know the update manager  
> yum?  
> I’ve never been on Fedora myself. But a bit of googling or searching on  
> the  
> mailing list archives should get you going in no time…
> 
> Cheers,  
> Jan

For some reason I apparently have two installs of ruby on this machine  
(I didn’t set it up, so I can’t tell you how this happened). One of them  
is the one from the yum installer and the other seems to have been  
installed manually. The ruby install that is being used is 1.8.2 and  
resides in /usr/local/bin/ and the other one is up to date (because I  
updated it with yum) and is in /usr/bin/. Unfortunately everything that  
uses ruby so far seems to be relying on the 1.8.2 install and I don’t  
know an easy way to change that. Does ruby not have some kind of update  
command or its own updater?
