Welcome Guest | Login

Apache+Mod Rails

Hi I'm a first time rails-app-deployer and would like to deploy my app using mod rails. As far as i can tell there is no tutorial on how to do this for hostingrails. The closest tutorial i found was this:
http://www.hostingrails.com/forums/deployment_troubleshooting_thread/145

which, although very helpful, is more than a year old and mod rails is only months old. I decided to create a test rails app using the command '~rails test_app' in ssh. I then created a subdomain called 'test' and used a symlink to link public_html/test to test_app/public

This worked partially, as in when i went to test.mydomain.com i got the rails greeting page but that is about as far as i have gotten.

I'm also not sure whether or not this app is running on FCGI or mod rails!

Please if anybody could elaborate on deployment with mod rails with hostingrails or point me to a tutorial i would be very thankful.

2008-09-08 10:00 AM

The deployment procedure is same for mod_rails and FastCGI . You need to contact support team for setting up vhost entries for your domain to run in mod_rails.

2008-09-08 10:16 AM

Okay, can i not just use cpanel to generate the virtual host by using a subdomain/addon and symlink?

2008-09-08 02:10 PM

Yes, But to make the  subdomain/addon to work under Mod_rails you will need to contact support with the domain details.

We will manually add the additional vhost entries to make the domain work with Mod_rails/Passenger support.

2008-09-08 03:32 PM

Regards,
Rahul
okay that cleared things up for me, thanks very much.

2008-09-09 09:49 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.