2007/9/28, Matthew Snyder <[EMAIL PROTECTED]>:
> Running 'ruby beta.rb' produces no output and goes straight back to a
> prompt. Running 'ruby dispatch.fcgi' produces no output, and when I
> hit enter, I'm returned to a prompt.
> This is the only thing I get in my error logs:
> [Thu Sep 27 21:35:48 2007] [warn] FastCGI: (dynamic) server "/home/
> ardekant/public_html/beta/dispatch.fcgi" has failed to remain running
> for 30 seconds given 3 attempts, its restart interval has been backed
> off to 600 seconds

Hmm.. try something like this to get more output :

#!/usr/bin/ruby
begin
  require 'rubygems'
  require 'camping/fastcgi'
  Camping::FastCGI.start('~/www/beta/beta.rb')
rescue Object => ex
  File.open('err.log','w'){|f| f.write(ex.inspect);
f.write(ex.backtrace.join("\n")}
end

> By not using the rewrite engine, do you mean just remove my .htaccess
> while I test? What would I put in as a web address if that were the
> case? Right now http://beta.ardekantur.com points to that beta/
> directory where the Camping app, .htaccess, and dispatch are.

Yes, if I am right you can access it trough
http://beta.ardekantur.com/dispatch.fcgi

-- 
Cheers,
  zimbatm
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to