Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to setup a shared hosting server especially for hosting RoR applications. What is the best way to achieve this? Currently I am hosting a LAMP shared hosting server. I have some scripts with which I manage the accounts.

projectadd <redcolor>

creates a user, homedir for redcolor and a folder structure under his home dir like /home/redcolor/{www,logs,files,dbdumps}. And a mysql database gets created for that user and the credentials are populated in a text file in his homedir. An apache vhost also gets created as .com.

This is required for internal usage in our company and we also have a bunch of rails projects getting on board and I need to facilitate the same for rails developers.

What is the best way to host rails sites from user home dirs? I considered rvm but how can I handle the Passenger ruby path in the apache vhost? Is there any way in which i create a very generic vhost and leave everything to user's .htaccess? How can this be done for rails apps?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.