I''ve got my app running under cgi, but I keep getting pwned by fcgi. - app is installed at www.mydomain.com - web root is www.mydomain.com/public (this works w/ regular cgi) - /public has correct permissions - .htaccess: rewrite rule changed to use .fcgi - shebang on dispatch.fcgi and dispatch.rb is set to #!/usr/bin/ruby1.8 (also tried just ruby) -environment.rb : running in prod Any ideas? o_O -- Posted via http://www.ruby-forum.com/.
You don''t say that you''ve got execute permissions on dispatch.*.. do you? Also, I had some issues on DH that could only be fixed by "kill -9"ing the dispatch.fcgi processes. Finally, to keep my site stable I had to add one of these to my crontab: */10 * * * * /usr/bin/curl http://www.direct-debit.com.au/blah -o /dev/null --stderr /dev/null (where /blah is a path that is NOT cached) HTH, Dan www.peoplehub.com.au
That crontab was supposed to be one line, not two...
I also did a 755 on dispatch*...no joy -- Posted via http://www.ruby-forum.com/.
2006/3/13, Chris Sepic <chris.sepic@gmail.com>:> I also did a 755 on dispatch*...no joyI have this issue with DreamHost too. Sometimes I simply have to wait a while before the app will restart. This is a problem. Wait half an hour and try again. Bye ! -- Fran?ois Beausoleil http://blog.teksol.info/
You''re right. I tried my app today and it''s running fine. That was still really frustrating... Fran?ois Beausoleil wrote:> 2006/3/13, Chris Sepic <chris.sepic@gmail.com>: >> I also did a 755 on dispatch*...no joy > > I have this issue with DreamHost too. Sometimes I simply have to wait > a while before the app will restart. This is a problem. Wait half an > hour and try again. > > Bye !-- Posted via http://www.ruby-forum.com/.