I'm trying to configure Apache2 and mod_passenger so I can have one site at the root of the server example.com/
and another totally different rails instance at example.com/second
.
My <VirtualHost>
context looks like this so far:
<VirtualHost *:80>
# Name
ServerName server.biz
DocumentRoot /var/rails/current/public
<Directory /var/rails/current/public>
AllowOverride all
Options -MultiViews
</Directory>
# Logfile
ErrorLog /var/log/apache2/server.biz.error.log
CustomLog /var/log/apache2/server.biz.access.log combined
</VirtualHost>
If anyone has any ideas on how I can achieve this, or even a totally different approach to do it, would be appreciated.