Domain setup w/ RoR & Plesk

Hi all. I have Rails installed on a dedicated virtual server that’s
running Plesk.

I’ve been told by my hosting service that removing or altering Plesk’s
default domain root folder (httpdocs) is likely to muck things up.

So what’s my best option for setting up rails apps, given that I can’t
create them as the domain root?

On 30 Sep 2006, at 20:30, magic_hat wrote:

Hi all. I have Rails installed on a dedicated virtual server that’s
running Plesk.

I’ve been told by my hosting service that removing or altering Plesk’s
default domain root folder (httpdocs) is likely to muck things up.

So what’s my best option for setting up rails apps, given that I can’t
create them as the domain root?

I generally tell capistrano to deploy in something parallel to the
httpdocs directory, and then add in the domain vhost.conf proxy
directives, running the rails app as normal on a high port with mongrel.

Plesk gets in the way a little, but your main problem will be getting
subversion and ssh to play nice with capistrano on one of those god-
awful 1&1 boxes…

Thanks,


Paul R.
Director, Vagueware Ltd
http://vagueware.com

Paul R. wrote:

Plesk gets in the way a little, but your main problem will be getting
subversion and ssh to play nice with capistrano on one of those god-
awful 1&1 boxes…

Would you mind being more specific? I’m about to do this. I’m presently
just running the app on mongrel, on a high port, for testing.

I had a hellacious time getting Apache 2.2 built and running on my 1&1
box without breaking anything – their default installation omitted a
few little things like g++, as well as a few libs and plenty of header
files.

–Al Evans

I’m not running capistrano or mongrel, but the vhost.conf redirection
worked for me. the rails directory is actually httpdocs/railsapp, and
it’s running great. Thanks.