Deploying Rails application under DirectAdmin

wdeboer

Verified User
Joined
Jul 16, 2005
Messages
40
I am currently using mod_passenger succesfully on my DirectAdmin enabled webserver. Only now I would like to deploy rails applications using Capistrano. Only I have some trouble to get it working in such manner that I don't need to alter the httpd.conf file of the user.

Does anyone have a working Capistrano? My script can be found at:
http://www.pastie.org/238479

If anyone know how I can alter httpd.conf in some way that it doesn't rewrite the virtual host... like using the Custom HTTPD options. That would be awesome too!

Thanks
 
You can use the following line to change the DocumentRoot of a user using the Custom HTTPD Configuration option of the admin user:

|?DOCROOT=/home/wdeboer/domains/preview.clients.nl/public_html/preview/public|

Now I only need to fix my capistrano script in such manner that I won't get permission errors when using the normal public_html folder as DocumentRoot
 
Last edited:
Back
Top