

Where to store Rails sites on an Apache server?
source link: https://www.codesd.com/item/where-to-store-rails-sites-on-an-apache-server.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Where to store Rails sites on an Apache server?
I successfully installed passenger on my Apache server and have a rails site running successfully. I'm very new to server management, and I have a very simple question that I can't seem to find an answer to. Where to store my Rails apps? I understand Passanger can reach applications anywhere on the server, so where should the apps be?
Debian's passenger install recommends installing your app to /usr/share/%APP%/ and symlinking the /public dir of the app to /var/www or a subdirectory. I like this method for its cleanliness, though it is a fair bit more work than pretty much every other method out there.
Related Articles
Should I store Web site images in SQL Server or on drive C:
How to run the ASP.NET 4.0 site on the Apache server?
How to run a python script with selenium called by php via the apache server?
ASP.NET MVC Multi Site - where to store site configuration data
Ruby on Rails site slow / low
Mobile website - where to store private data on devices?
PHP Basics - Where to store the MySQL password used by PHP
Multi-database connection string: where to store it in my application
Fedora + Apache + Phusion passenger + Rails display the default apache page (always)
Where to store the full url in a cms?
Grails and Tomcat: where to store downloaded files in the file system?
Encryption key and decryption, where to store and use for the .net application
Where to store user file downloads?
Where to store HTML templates to use in Backbone.js
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK