I''m trying to set up my app on Linux SUSE, apache2 using fastcgi. Now at host I''m able to see the greeting page (index.html in public). However, if I try to access my app host/candidate/index I keep getting in the log: No such file to load -- /usr/home/nye/hire/public/../config/../app/controller/test_controller.rb Did I set my path wrong? What''s this /usr/home/nye/hire/public/../config/../app/controllers/test_controller.r b My test_controller.rb sits in /usr/home/nye/hire/app/controllers but why is it looking in /usr/home/nye/hire/public/../config/../app/controller/test_controller.rb Did I set my directory wrong in http.conf? In http.conf, I set DocumentRoot /usr/home/nye/hire/public And <Directory /usr/home/nye/> Options FollowSymLinks allowOverride all Order allow, deny Allow from all </Directory> I have a feeling that I set the above wrong... Help! Thanks!!!!! Nina Ye Sr. Software Engineer SUCCESSFACTORS Tel: 650-645-2062 Fax: 650-645-2377 -------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060714/c6bbfd57/attachment.html
It turned out to be that I didn''t give read rights to my application files. After chmod, it''s working now. Nina Ye wrote:> I''m trying to set up my app on Linux SUSE, apache2 using fastcgi. Now > at host I''m able to see the greeting page (index.html in > public). However, if I try to access my app host/candidate/index > I keep getting in the log: > > > > No such file to load -- > /usr/home/nye/hire/public/../config/../app/controller/test_controller.rb > > >-- Posted via ruby-forum.com.