Hey Folks,

I'm deploying a camping app on an internal Apache2 + FastCGI server at my
office.  Of course, on my Mac it works great, but I can't get things to work
with Apache and FCGI.  I've followed the directions on why's page
documenting how to do this, but I'm getting the following error in my Apache
error.log file:

FastCGI: (dynamic) server "/var/www/campapp/dispatch.fcgi" has failed to
remain running for 30 seconds given 3 attempts

If I just go run the dispatch.fcgi file, I get no output.  I hit enter and
I'm back to the prompt.  In my web browser, this all shows up as a 500
error.

Anyone have an idea?  Here is a copy of my dispatch file:

#!/usr/bin/ruby
require 'rubygems'
require 'camping/fastcgi'

current = File.direname(__FILE__)

Camping::Models::Base.establish_connection :adapter => 'sqllite3', :database
=> File.expand_path(current+ '/camping.db')
Camping::FastCGI.server(current)

Thanks a lot!
-Brian
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to