I had a devil of a time with this very subject. You might want to check this thread: <a href="http://groups.google.com/group/israelrb/browse_frm/thread/5df3fa040d3a4046/">http://groups.google.com/group/israelrb/browse_frm/thread/5df3fa040d3a4046/
</a> . There was a solution to my immediate problem in there, but the conclusion seems to be that FastCGI is contraindicated for Camping.<br><br>On Windows, I ended up running a mongrel server, using Apache as a proxy. This worked fine, except I couldn't figure out how to make that into a windows service ... but that's another problem.
<br><br>Hope this helps,<br>-Eli<br><br><div><span class="gmail_quote">On 7/31/07, <b class="gmail_sendername">Brian Corrigan</b> <<a href="mailto:bcorrigan78@gmail.com">bcorrigan78@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hey Folks,</div>
<div> </div>
<div>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:</div>
<div> </div>
<div>FastCGI: (dynamic) server "/var/www/campapp/dispatch.fcgi" has failed to remain running for 30 seconds given 3 attempts</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Anyone have an idea? Here is a copy of my dispatch file:</div>
<div> </div>
<div>#!/usr/bin/ruby</div>
<div>require 'rubygems'</div>
<div>require 'camping/fastcgi'</div>
<div> </div>
<div>current = File.direname(__FILE__)</div>
<div> </div>
<div>Camping::Models::Base.establish_connection :adapter => 'sqllite3', :database => File.expand_path(current+ '/camping.db')</div>
<div>Camping::FastCGI.server(current)</div>
<div> </div>
<div>Thanks a lot!</div><span class="sg">
<div>-Brian</div>
</span><br>_______________________________________________<br>Camping-list mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Camping-list@rubyforge.org">Camping-list@rubyforge.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/camping-list" target="_blank">http://rubyforge.org/mailman/listinfo/camping-list</a><br></blockquote></div><br><br clear="all">
<br>-- <br><a href="http://www.megastructure.org">www.megastructure.org</a><br><a href="http://www.last.fm/user/coldphage/">http://www.last.fm/user/coldphage/</a><br>Bubs: Let's head down to the Datum Center and see what we can find.
<br>Strong Bad: Datum sounds good.