I'm trying to run a rails app on a shared hoster. I create the app in the directory /home/rails_projects/jens_blog and the document root is /home/www/jens_blog. In the /home/www/jens_blog dir is a symlink public -> /home/rails_projects/jens_blog/public/ I created a scaffold posts But when i run the mydomain/ or mydomain/posts in the browser I get always an 404 error. File does not exist: /home/www/jens_blog/public/posts

<VirtualHost ip.port>
ServerName www.mydomain.de
ServerAdmin webmaster@www.mydomain.de
DocumentRoot /home/www/jens_blog/public
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/bin/ruby
PassengerDefaultUser myuser
PassengerAnalyticsLogUser myuser
CustomLog /home/log/access_log mesos2
<Directory "/home/www/jens_blog/public">
    Allow from all
    Options -MultiViews
  </Directory>
</VirtualHost>

Can anybody help me?? I am desperated.

Cheers Jens

PS: I have ssh access

link|improve this question
Did you try to enable FollowSymLinks option? – quanta Aug 8 '11 at 14:44
Yes. But no success – jens freudenau Aug 9 '11 at 9:43
Which OS are you running? – quanta Aug 9 '11 at 9:45
I am not sure, Debian? – jens freudenau Aug 9 '11 at 9:51
cat /etc/issue? – quanta Aug 9 '11 at 9:53
show 1 more comment
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.