Forum: Rails deployment Routing Error with Apache/Passenger

Posted by Praful Halakhandi (prafulh)
on 2010-09-25 07:09
I have testing a rails app with apache and passenger. The index page or
any static pages show correctly. But when I try to go to any other
controller... it is never displayed. The sites-available files is as
follows
<VirtualHost *:80>

  ServerName www.domain.com
  ServerAlias domain.com

  DocumentRoot "/var/www/myapp/current/public"
  RailsEnv production
  RailsMaxPoolSize 2
  RailsBaseURI /
  ErrorLog /var/www/myapp/logs/error.log

  <Directory "/var/www/myapp/current/public">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride none
    Order allow,deny
  </Directory>
</VirtualHost>

Please assist. I have tried all available solutions on the web.

Regards,

Praful
Posted by Praful Halakhandi (prafulh)
on 2010-09-25 12:04
Hi... Just started working after reinstalling apache! Still don't know 
what changed. Thanks.

Regards,

Praful
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.