Deploy 2 Sites on same Apache server
问题 I need to deploy my Rails app to a server that is already serving a PHP site at its root. I can't touch the existing site, and I have to deploy my app at a sub-url or sub-domain, ie xx.xx.xx.xx/rails or rails.xx.xx.xx.xx . The Apache config I normally use to deploy my app: <VirtualHost *:80> ServerName localhost DocumentRoot "C:/RubyStack-3.2.5-0/projects/app_name/public" <Directory "C:/RubyStack-3.2.5-0/projects/app_name/public"> Allow from all Options -MultiViews </Directory> RewriteEngine