Correct to use Apache with Rails?


#1

Hi, I have looking for the best way to integrate Apache 1.3.x and RoR.
BTW,
I have gone through several different articles and I’m not clear as to
which
method is the correct method for a production level environment. Thus,
if
someone could shed some light on this topic, it would be most
appreciated.

Thanks in advance,

-Conrad


#2

I’m having some difficulty to understand this either.

It seems the way to go is Lighttpd with FCGI. I’m using it on TextDrive
and
it seems to work fine for me.

Regards,

Harm


#3

Apache=>Lighty=>FCGI=>Rails is my recommended…

Pretty simple to setup, and performs quite good…

Mikkel B.

www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)


#4

I agree. The best option at this point is lighttpd. If you can get
away with running lighty standalone thats great. But if you need
apache around for old sites then you should proxy an apache vhost to
lighttpd/fcgi running your rails app.

Here are some configurations for apache vhosts that do just this:

http://brainspl.at/articles/2005/11/08/apache-vhost-to-proxy-thru-to-
lighttpd-on-a-higher-port

Cheers-
-Ezra