Skip to content

Instantly share code, notes, and snippets.

@aaronaddleman
Created January 8, 2015 17:50
Show Gist options
  • Save aaronaddleman/86b6a299aa60f0f2f4c5 to your computer and use it in GitHub Desktop.
Save aaronaddleman/86b6a299aa60f0f2f4c5 to your computer and use it in GitHub Desktop.
To host your rails app with either a virtual host or Alias method with RailsBaseURI /path/to/app/dir (Virtual host method)
# Virtual host method
<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment