1. In order to get Apache to run your ruby application, there are a couple of steps that should be followed: Ensure that you have the handler and rewrite rule added to your .htacess file in the public folder:
    AddHandler fastcgi-script .fcgiRewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

  2. If your typo installation is in a subdirectory, you have to have the ReWrite in your .htaccess file to forward the user to the public folder. If you do not want to use Apache to do this, you can use a SymLink:
    ln -s [target] [link-name]
  3. Make sure you chmod 755 the dispatch.fci file in the public folder:
    chmod 755 dispatch.fci
  4. If you are still have problems, check your database.yml file to make sure you have the database setup properly.
This entry was posted on Thursday, December 8th, 2005 at 12:53 am.
Categories: Uncategorized.

No Comments, Comment or Ping

Reply to “Getting Apache to recognize ruby on rails application”