I have a Zend Framework PHP project that I am serving with Apache. I would like to slowly migrate this application to use Ruby on Rails. How can I configure Apache to be able to serve this Ruby application as a subdirectory of the domain that is hosting my PHP project?
Share
Step 1. Install Passenger
Step 2. Add the following entries to
passenger.conf(/etc/apache2/mods-enabled)Step 3. Make a symlink in the virtual host’s document root called
rails_applicationwhich points to thepublicdirectory of the Rails application.More information available in the documentation.