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
FollowSymLinksoption? – quanta Aug 8 '11 at 14:44cat /etc/issue? – quanta Aug 9 '11 at 9:53