ror 3 + apache2 + passenger = apache test page

I set up Passenger on manual -

Passenger and Apache install without errors.


LoadModule passenger_module
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.2
PassengerRuby /usr/local/bin/ruby
PassengerDefaultUser root
<VirtualHost *:80>
   DocumentRoot /var/www/rails/zak
   RailsEnv production
   RailsBaseURI /app
   ErrorLog logs/


require File.expand_path('../application', __FILE__)
   Zak::Application.initialize! do |config|
    config.action_controller.relative_url_root = '/app' # add this

# pwd
# ls -la
итого 8
drwxr-xr-x. 2 root root 4096 Фев 6 16:35 .
drwxr-xr-x. 3 root root 4096 Фев 6 15:52 ..
lrwxrwxrwx. 1 root root 26 Фев 6 16:35 zak -> /home/up/rails3/zak/public

Apache starts successfully, but instead of pages of ROR3, I see apache
testpage. But apache see all files, which in public ROR directory -
What i must do to normaly run Rails?

Check your permissions, i have had similar problem before and they usually have to do we the permission of the user:group apache runs with.

all rights to all files are 0777, i tried all the users in the
user:group in httpd.conf. It did not help.

DocumentRoot /var/www/rails/zak

this should point to the public directory, no to the app directory