Rails App at Webroot

From A2Wiki

Jump to: navigation, search

To run your Rails application at webroot rather than as a subdirectory, you must symlink public_html to the public directory of your Rails application:

Note: You may first want to back up your existing public_html

cd ~
mv public_html public_html.old
ln -s /path/to/railsapp/public public_html
Personal tools