I'm trying to deploy a Ruby on Rails Application using Passenger and Apache but I have some trouble. When I try to go to example.com/tournament, I get an error saying that the Ruby on Rails application couldn't be started along with the following error:
No such file or directory - config/environment.rb
After doing some searching, there seems to be something wrong with my virtual host configuration since all permissions are correct. Can you find whats wrong with this configuration? Note that example.com is not what is in my configuration, I have a different domain there.
<VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot /srv/www/example.com/public_html ErrorLog /srv/www/example.com/logs/error.log CustomLog /srv/www/example.com/logs/access.log combined RailsBaseURI /tournament <Directory /srv/www/example.com/public_html/tournament> Options -MultiViews </Directory> </VirtualHost>