Mat Schaffer on 25 Jun 2008 08:10:26 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Rails / PHP / Capistrano

  • From: Mat Schaffer <>
  • To:
  • Subject: Re: [PhillyOnRails] Rails / PHP / Capistrano
  • Date: Wed, 25 Jun 2008 11:09:57 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:mime-version:subject:date:references :x-mailer; bh=Ek0EIQ0WGZGuXgtmPWRQ9sQGkSv1RzmXJAzkm7WtRAI=; b=a5rT5T8mBiwlJ/N6xzMUB2rumTbe0Xt4AJ0BGwad/0wPWI7Lpn5EQ6s2gaGUtyUFON sgqx6RXawZlkib+2gVVyVn3cLhzMvI3Uxo9tfNATQFKgZBb4Vx04Q1SIsLczW+mWvgrM wPUIhaZ4wFX2W/TjubMSLxZ9zAGQmxheejFkY=
  • List-archive: <>
  • Reply-to:
  • Sender:

On Jun 24, 2008, at 10:20 PM, Nick Romanowski wrote:
I'm a newb when it comes to Rails and Capistrano, and i'm building my first "real" app...

I am going to have a forum and a blog integrated in my Rails app and I have a lot of experience with WordPress and phpbb, so naturally i was going to use those platforms.

So i'm going to ping the list for some information:
1.  Is it hard to integrate the PHP code and simply use a subdomain for each app?  (i.e.,

If I were in your shoes, I'd probably just use an apache VirtualHost directive for each full host name.  The PHP ones would just set a DocumentRoot and the rails ones would set up a mod_proxybalancer situation.  If you don't need SSL it should be pretty simple.  If you do need SSL coming up with a cert that works for all the hosts is something that I've still been unable to pull off.

I still haven't used nginx though (/me hangs head in shame), so maybe it's even easier there.
To unsubscribe or change your settings, visit: