Directory List Instead of Rails Site After Passenger / REE Update

Having upgraded Passenger and Ruby Enterprise Edition to the latest versions today, I now see a list of directories instead of my Rails application. Here is the passenger part of my Apache configuration:

#LoadModule passenger_module /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.1.3/ext/apache2/mod_passenger.so
#PassengerRoot /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/passenger-2.1.3
#PassengerRuby /opt/ruby-enterprise-1.8.6-20090201/bin/ruby

LoadModule passenger_module /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/passenger-2.2.11
PassengerRuby /opt/ruby-enterprise-1.8.7-2010.01/bin/ruby

RailsEnv production
RackEnv production

PassengerMaxPoolSize 30
PassengerPoolIdleTime 600
PassengerMaxInstancesPerApp 10
PassengerUseGlobalQueue on

This config definitely loads, vhost definitely points to the application’s shared directory. The application itself works great when launched from the Rails console.

In the above configuration, you will see that the old passenger settings are commented out. If I comment on the new passenger lines and uncomment the old ones (i.e., switch to an older version of the passenger), the application works fine again.

I tried to reinstall the passenger / REE, no difference. There are no related entries in the Apache or Rails error log.

Any help appreciated!

+1
2

, :

PassengerResolveSymlinksInDocumentRoot

, Passenger , . .

+1

, /etc/hosts, URL 127.0.0.1 .

. /etc/hosts,

+1

All Articles