I seem to be having problems moving to FastCGI on TextDrive... maybe someone who has done this before can tell me where I am going wrong. To my dispatch.fcgi I replace: require ''fcgi'' With: require ''rubygems'' require_gem ''fcgi'' In my .htaccess file in public/ I replace: RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L] with: RewriteRule ^(.*)$ /dispatch.fcgi?$1 [QSA,L] And I get an appache error when I go to my application. Anyone know what is going on? Am I changing the cgi to fcgi in the right place? I appreciate your help. Your Friend, John
> Anyone know what is going on? Am I changing the cgi to fcgi in the right place? > I appreciate your help.All I changed was the .htaccess and it was working for a time. But the last week or so it''s been giving me errors too. My app is still pretty rough, it was just online so I could start entering data for it. I''m patiently waiting for the move to lighttpd on Textdrive. There''s a weblog post with directions (http://weblog.textdrive.com/article/31/having-ones-own-lighttpd-and-running-it-too) that you can perform yourself, but I believe you still need to put in a ticket for a proxy port. It seems like TextDrive is going through an intense period of growth, so hopefully it''s not too long before we can have a great rails development environment. Personally I have a work project coming up that would be a great intro to rails for my boss. But, it looks like rails and IIS don''t mix, and TXD is spotty currently, so he''s not getting a favorable impression of it. -- rick http://techno-weenie.net
Textdrive is really not responding to my emails quickly either i.e. 8 hours minimum with an average of about 2 days. Not cool. Especially since I bought a lifetime account. Are you having problems with ActionMailer as well?> > Anyone know what is going on? Am I changing the cgi to fcgi in the right > place? > > I appreciate your help. > > All I changed was the .htaccess and it was working for a time. But > the last week or so it''s been giving me errors too. My app is still > pretty rough, it was just online so I could start entering data for > it. > > I''m patiently waiting for the move to lighttpd on Textdrive. There''s a > weblog post with directions >(http://weblog.textdrive.com/article/31/having-ones-own-lighttpd-and-running-it-too)> that you can perform yourself, but I believe you still need to put in > a ticket for a proxy port. It seems like TextDrive is going through > an intense period of growth, so hopefully it''s not too long before we > can have a great rails development environment. > > Personally I have a work project coming up that would be a great intro > to rails for my boss. But, it looks like rails and IIS don''t mix, and > TXD is spotty currently, so he''s not getting a favorable impression of > it. > > > -- > rick > http://techno-weenie.net > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On Thu, 17 Mar 2005 10:49:48 -0500, John Baku <john-CC0oh5EnFfVBDgjK7y7TUQ@public.gmane.org> wrote:> I seem to be having problems moving to FastCGI on TextDrive... maybe someone who > has done this before can tell me where I am going wrong. > > To my dispatch.fcgi I replace: > > require ''fcgi'' > > With: > > require ''rubygems'' > require_gem ''fcgi'' > > In my .htaccess file in public/ I replace: > > RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L] > > with: > > RewriteRule ^(.*)$ /dispatch.fcgi?$1 [QSA,L] > > And I get an appache error when I go to my application. > > Anyone know what is going on? Am I changing the cgi to fcgi in the right place? > I appreciate your help. > > Your Friend, > > JohnHi John I had the same trouble about 2 weeks ago with fcgi, and ended up switching back to plain cgi for the time being. At least on the server that I''m on, bidwell, Apache is running very low on file handles, which causes fcgi to bork for some people. I''ve got my own lighttpd server setup there now, and I must say, my sites run *very* fast now. All I''ve got to do is setup the proxying properly, now. Dave -- Dave Goodlad dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org http://david.goodlad.ca/
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 17, 2005, at 8:23 AM, John Baku wrote:> Textdrive is really not responding to my emails quickly either i.e. 8 > hours > minimum with an average of about 2 days. Not cool. Especially since > I bought > a lifetime account. > > Are you having problems with ActionMailer as well?Well ... I''ll go ahead and say what I just said in a 40 minute old ticket. Once rails sites are production, we''re deploying them on lighttpd. Or if people want to maintain tighter control then it''s a matter of starting up your own lighttpd on a port we assign and we proxy pass it via apache. In a lot of ways lighttpd''s handling of fastcgi is superior to Apache2''s and we''re even pushing ahead with our own version of lighttpd. - - Jason -----BEGIN PGP SIGNATURE----- Version: PGP 8.1 iQA/AwUBQjmz9VUyB+ajXkCLEQLI4gCfWKBfTXhiF+Qlk6Cw/NwJATDWAvQAni30 KPAxD1SMc9rZ6JiTRwZNn2M3 =bWu8 -----END PGP SIGNATURE-----
I got the following email from Jason Hoffman from TextDrive. This is good news: "Once rails sites are production, we''re deploying them on lighttpd. Or if people want to maintain tighter control then it''s a matter of starting up your own lighttpd and we proxy pass it via apache."> On Thu, 17 Mar 2005 10:49:48 -0500, John Baku <john-CC0oh5EnFfVBDgjK7y7TUQ@public.gmane.org> wrote: > > I seem to be having problems moving to FastCGI on TextDrive... maybe > someone who > > has done this before can tell me where I am going wrong. > > > > To my dispatch.fcgi I replace: > > > > require ''fcgi'' > > > > With: > > > > require ''rubygems'' > > require_gem ''fcgi'' > > > > In my .htaccess file in public/ I replace: > > > > RewriteRule ^(.*)$ /dispatch.cgi?$1 [QSA,L] > > > > with: > > > > RewriteRule ^(.*)$ /dispatch.fcgi?$1 [QSA,L] > > > > And I get an appache error when I go to my application. > > > > Anyone know what is going on? Am I changing the cgi to fcgi in the right > place? > > I appreciate your help. > > > > Your Friend, > > > > John > > Hi John > > I had the same trouble about 2 weeks ago with fcgi, and ended up > switching back to plain cgi for the time being. At least on the > server that I''m on, bidwell, Apache is running very low on file > handles, which causes fcgi to bork for some people. > > I''ve got my own lighttpd server setup there now, and I must say, my > sites run *very* fast now. All I''ve got to do is setup the proxying > properly, now. > > Dave > > -- > Dave Goodlad > dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or dave-eHfbeeWWzZOw5LPnMra/2Q@public.gmane.org > http://david.goodlad.ca/ >