I have a website : http://foo.com
I would like to add a rails application in : http://foo.com/subdir
So I use a Apache Proxy to do it.
In the server with the Rails application, I have Passenger and Apache, and my VirtualHost :
I moved my application to
I created a .htaccess with :
PassengerEnabled on PassengerAppRoot /path/to/railsapp/subdir
And my VirtualHost :
DocumentRoot /path/to/railsapp/ <Directory /path/to/railsapp/subdir> AllowOverride All RailsBaseURI /subdir </Directory>
Thanks AlexD for trying to help me.