Web server recommendations?


#1

I want my website to include a mixture of static HTML pages, RAILS apps,
some simpler dynamic pages using eruby, and maybe even the occasional
PHP page (gasp! horror! no!). Definitely care most about the Ruby
support.

So what web server do you recommend? Apache 1.3.x? Apache 2.x? Should
I use mod_ruby or fastcgi? What does RAILS integrate best with?

Thanks for any suggestions.


#2

On Tue, Mar 21, 2006 at 10:03:51AM +0900, Mark J.Reed wrote:
} I want my website to include a mixture of static HTML pages, RAILS
apps,
} some simpler dynamic pages using eruby, and maybe even the occasional
} PHP page (gasp! horror! no!). Definitely care most about the Ruby
support.
}
} So what web server do you recommend? Apache 1.3.x? Apache 2.x?
Should
} I use mod_ruby or fastcgi? What does RAILS integrate best with?
}
} Thanks for any suggestions.

I have had great success with Apache2 and fcgid. Installing it under
Debian
was pretty much trivial. Getting a Rails app working involved a little
bit
of messing with routes and configs, but that’s it.

–Greg


#3

John N. Alegre wrote:

separate box on my LAN where Apache is on an OS X system and WEBrick is on
a linux boxen.

Have you looked at Mongrel? It’s a Ruby + C Webserver in the vein of
WEBrick, but far zippier.


James B.

“In Ruby, no one cares who your parents were, all they care
about is if you know what you are talking about.”

  • Logan C.

#4

Mark J. Reed wrote:

I want my website to include a mixture of static HTML pages, RAILS apps,
some simpler dynamic pages using eruby, and maybe even the occasional
PHP page (gasp! horror! no!). Definitely care most about the Ruby
support.

So what web server do you recommend? Apache 1.3.x? Apache 2.x? Should
I use mod_ruby or fastcgi? What does RAILS integrate best with?

Thanks for any suggestions.

This is a loaded responce because I am looking for comments on my
solution
but my solution has certainly been working for me.

With Apache 2.0.6 and Rails 1.0.0, I run my Rails apps under the WEBrick
default on a non public port. I then have Apache direct Rails app
requests
to that port on localhost. I am not running fastCGI just normal stock
Apache with no mods. I have even done this with WEBrick running on a
separate box on my LAN where Apache is on an OS X system and WEBrick is
on
a linux boxen.

Now … I do not get a ton of hits and I would guess there is a scale
issue
here. But it has worked for me with moderate load.

Comments?
john