# Web server recommendations?

**URL:** <https://www.ruby-forum.com/t/web-server-recommendations/55438>\
**Category:** Ruby\
**Created:** [March 21, 2006, 2:03am UTC](https://www.ruby-forum.com/t/web-server-recommendations/55438 "2006-03-21T02:03:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_J.Reed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@Mark\_J.Reed](https://www.ruby-forum.com/u/Mark_J.Reed)\
**Post date:** [March 21, 2006, 2:03am UTC](https://www.ruby-forum.com/t/web-server-recommendations/55438/1 "2006-03-21T02:03:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mark\_J.Reed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@Mark\_J.Reed](https://www.ruby-forum.com/u/Mark_J.Reed)\
**Post date:** [March 21, 2006, 2:42am UTC](https://www.ruby-forum.com/t/web-server-recommendations/55438/2 "2006-03-21T02:42:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mark\_J.Reed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@Mark\_J.Reed](https://www.ruby-forum.com/u/Mark_J.Reed)\
**Post date:** [March 21, 2006, 5:09pm UTC](https://www.ruby-forum.com/t/web-server-recommendations/55438/3 "2006-03-21T17:09:01Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Mark\_J.Reed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/898d66/32.png) [@Mark\_J.Reed](https://www.ruby-forum.com/u/Mark_J.Reed)\
**Post date:** [March 21, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/web-server-recommendations/55438/4 "2006-03-21T14:34:32Z")

</div>

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
