<VirtualHost*:80\> # Change these 3 lines to suit your project RailsEnv development ServerName dev.blah.com # ***OPCIONAL*** DocumentRoot /home/myuser/www/my_project/public # Note the 'public' directory<VirtualHost\>
$ a2ensite projectname$ a2dissite default$ a2enmod rewrite$ service apache2 restart