Pontifex
July 6th, 2005, 12:22 AM
I installed Rails (with ocs-install-rails), set up a sample database, and created a simple app with script/generate scaffold. When I try to access the new controller though, I get a File not found error.
I switched from dispatch.fcgi to dispatch.cgi in my .htaccess file and tried again. This time, I got this error:
Application error
Rails application failed to start properly"
and this in the Apache error logs:
Premature end of script headers: /home/paradigm/public_html/plans/dispatch.cgi
However, both dispatch.cgi and dispatch.fcgi work when run from the command line.
I have no idea what the problem is, so any help would be appreciated.
I switched from dispatch.fcgi to dispatch.cgi in my .htaccess file and tried again. This time, I got this error:
Application error
Rails application failed to start properly"
and this in the Apache error logs:
Premature end of script headers: /home/paradigm/public_html/plans/dispatch.cgi
However, both dispatch.cgi and dispatch.fcgi work when run from the command line.
I have no idea what the problem is, so any help would be appreciated.