Topic: Apache and FastCGI problems
Hi, it will be my first post and first big trouble with RoR.
I am using Rails 1.2.0 (as I remember) or 1.2.2 on Windows machine. I got hosting which supports Rails 1.2. I just generating RoR application to test hosting. Hosting is running on Linux. I am going to write steps I used to upload my testing application and later note the problem.
1. I am uploading application folder to server. So it would be easy to access it domain.com/application/public (Later I would make vhost).
2. In there files: dispatch.fcgi, dispatch.rb I changed ruby path (#!/usr/local/bin/ruby)
3. I went to /public/ directory and found ".htaccess" and changed it to use FastCGI (dispatch.fcgi)
dispatch.fcgi - 755
dispatch.rb - 755
/public/ - 755
5. Now I went to /config/ directory and found environment.rb uncommented this line: ENV['RAILS_ENV'] ||= 'production'
Trying to test RoR application, URL: http://www.davidlt.profusehost.net/portal/public/
Pressing "About your application
Last edited by davidlt (2007-03-20 14:25:21)