[Ruby] Multiple Domains with Mongrel + Apache

Zed A. Shaw zedshaw at zedshaw.com
Fri Mar 2 08:00:58 PST 2007


Hey Jordan, sorry I missed this first time through...

On Thu, 1 Mar 2007 23:53:24 -0800 (PST)
Jordan Isip <jordanisip at yahoo.com> wrote:

> For achieving purposes:  After many hours I figured out my problem. I needed to uncomment "NameVirtualHost *:80" in my httpd.conf....*sigh*....
> 
> So in the end my virtual host section in my httpd.conf looked like this:

I'm not much of an apache guy.  I've always hated the configuration
file, so these days I use nginx.  Nginx is very nice and very stable.
You should give that a whirl.

Otherwise, your config looks good, minus the static page caching
features you might want.

> 
> Welp, onto configuring Mongrel clusters....

For the mongrel clusters, you'll want to make sure that
any /etc/init.d/ (or /etc/rc.d/) script you make clears out the
log/*.pid files if you reboot.

I'd also recommend that you go buy:

http://www.amazon.com/Linux-Administration-Handbook-2nd-Nemeth/dp/0131480049/ref=pd_bbs_sr_1/002-9838944-8877668?ie=UTF8&s=books&qid=1172840339&sr=8-1

For a good manual on generic Linux administration.

-- 
Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
http://www.zedshaw.com/
http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
http://mongrel.rubyforge.org/


More information about the Ruby mailing list