Need recommendations for apache configurations

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?

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://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). :frowning:

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://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). :frowning:

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?

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/) 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

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/) 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

My first guess was something like rpm -U ruby-1.8.4.rpm . Then I found
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

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 . 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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs