I''m about to take a largish rails app live this week on a Windows Server 2K3 box. It''s a dedicated box for this app so I don''t need vhosts; I''m doing OLTP so it needs to be fast + secure, hence lighty. All of my other rails experience is with Apache2 / fcgi / linux. Can anyone point me towards some documentation for setting up lighttpd and fcgi on Windows? Is there anything I should watch out for? Is this the right way to be going about this? Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s experiences and suggestions. Thanks, -- Brad Ediger 866-EDIGERS
On 9/24/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote:> I''m about to take a largish rails app live this week on a Windows > Server 2K3 box. It''s a dedicated box for this app so I don''t need > vhosts; I''m doing OLTP so it needs to be fast + secure, hence lighty. > All of my other rails experience is with Apache2 / fcgi / linux. Can > anyone point me towards some documentation for setting up lighttpd > and fcgi on Windows? Is there anything I should watch out for? Is > this the right way to be going about this? > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s > experiences and suggestions. > > Thanks, > -- > Brad Ediger > 866-EDIGERSSounds like people are having better luck with SCGI: http://www.zedshaw.com/projects/scgi_rails/ -- rick http://techno-weenie.net
On Sep 24, 2005, at 11:18 AM, Rick Olson wrote:> On 9/24/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: > >> I''m about to take a largish rails app live this week on a Windows >> Server 2K3 box. It''s a dedicated box for this app so I don''t need >> vhosts; I''m doing OLTP so it needs to be fast + secure, hence lighty. >> All of my other rails experience is with Apache2 / fcgi / linux. Can >> anyone point me towards some documentation for setting up lighttpd >> and fcgi on Windows? Is there anything I should watch out for? Is >> this the right way to be going about this? >> >> Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s >> experiences and suggestions. >> >> Thanks, >> -- >> Brad Ediger >> 866-EDIGERS >> > > Sounds like people are having better luck with SCGI: > http://www.zedshaw.com/projects/scgi_rails/ > >Thanks for the quick reply! I remember reading that SCGI might be less than reliable right now. Is it at least as stable as FCGI? Thanks, be
Hi Brad, I would say that you should evaluate the stability of SCGI on an application-by-application basis. It runs fine for me on my small apps at work in several settings, but even then I run several tests against it. It is incredibly small and pure Ruby, so it''s both easier to debug and probably less prone to error to begin with. For example, I''ve seen several reports from people on this list of FastCGI still leaking memory. What I would suggest is that you check out Watir (http://wtr.rubyforge.org/) and write a good extensive test (or at least one that hits the heavy spots). Then, attack the SCGI runner. If you run into bugs, tell me about them and I''ll fix them in like 10 minutes. Anyway, good luck. Zed A. Shaw http://www.zedshaw.com/ On Sat, 24 Sep 2005 11:32:01 -0500 Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote:> > Sounds like people are having better luck with SCGI: > > http://www.zedshaw.com/projects/scgi_rails/ > > > > > Thanks for the quick reply! I remember reading that SCGI might be > less than reliable right now. Is it at least as stable as FCGI? > > Thanks, > be
Unfortunately lighttpd has not been ported to Win32, and everything I''ve read about the cygwin version makes me think its not ready for production usage. -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Brad Ediger Sent: Sunday, 25 September 2005 1:38 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] lighttpd / fcgi / windows? I''m about to take a largish rails app live this week on a Windows Server 2K3 box. It''s a dedicated box for this app so I don''t need vhosts; I''m doing OLTP so it needs to be fast + secure, hence lighty. All of my other rails experience is with Apache2 / fcgi / linux. Can anyone point me towards some documentation for setting up lighttpd and fcgi on Windows? Is there anything I should watch out for? Is this the right way to be going about this? Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s experiences and suggestions. Thanks, -- Brad Ediger 866-EDIGERS _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
That mirrors my experience. I gave up in frustration and pulled cygwin back out. I''ll have to look at SCGI later, but for now (for a speedy deployment) it''s running Apache2 and FCGI. Thanks to all, be On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote:> Unfortunately lighttpd has not been ported to Win32, and everything > I''ve > read about the cygwin version makes me think its not ready for > production usage. > > -----Original Message----- > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Brad Ediger > Sent: Sunday, 25 September 2005 1:38 AM > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails] lighttpd / fcgi / windows? > > I''m about to take a largish rails app live this week on a Windows > Server > 2K3 box. It''s a dedicated box for this app so I don''t need vhosts; I''m > doing OLTP so it needs to be fast + secure, hence lighty. > All of my other rails experience is with Apache2 / fcgi / linux. Can > anyone point me towards some documentation for setting up lighttpd and > fcgi on Windows? Is there anything I should watch out for? Is this the > right way to be going about this? > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s > experiences and suggestions. > > Thanks, > -- > Brad Ediger > 866-EDIGERS > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
http://www.mattmccray.com/archives/2005/09/24/rails-on-windows-and-apache2/ seems like SCGi would be your best bet On 9/25/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote:> > That mirrors my experience. I gave up in frustration and pulled > cygwin back out. I''ll have to look at SCGI later, but for now (for a > speedy deployment) it''s running Apache2 and FCGI. > > Thanks to all, > be > > On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote: > > > Unfortunately lighttpd has not been ported to Win32, and everything > > I''ve > > read about the cygwin version makes me think its not ready for > > production usage. > > > > -----Original Message----- > > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Brad Ediger > > Sent: Sunday, 25 September 2005 1:38 AM > > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > Subject: [Rails] lighttpd / fcgi / windows? > > > > I''m about to take a largish rails app live this week on a Windows > > Server > > 2K3 box. It''s a dedicated box for this app so I don''t need vhosts; I''m > > doing OLTP so it needs to be fast + secure, hence lighty. > > All of my other rails experience is with Apache2 / fcgi / linux. Can > > anyone point me towards some documentation for setting up lighttpd and > > fcgi on Windows? Is there anything I should watch out for? Is this the > > right way to be going about this? > > > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s > > experiences and suggestions. > > > > Thanks, > > -- > > Brad Ediger > > 866-EDIGERS > > > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Are there any win32 binaries for SCGI? I don''t have a development environment on that machine and would really like to avoid installing one. On Sep 25, 2005, at 8:43 PM, Alexander Aguilar wrote:> http://www.mattmccray.com/archives/2005/09/24/rails-on-windows-and- > apache2/ > > seems like SCGi would be your best bet > > > On 9/25/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: > That mirrors my experience. I gave up in frustration and pulled > cygwin back out. I''ll have to look at SCGI later, but for now (for a > speedy deployment) it''s running Apache2 and FCGI. > > Thanks to all, > be > > On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote: > > > Unfortunately lighttpd has not been ported to Win32, and everything > > I''ve > > read about the cygwin version makes me think its not ready for > > production usage. > > > > -----Original Message----- > > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org ] On Behalf Of Brad > Ediger > > Sent: Sunday, 25 September 2005 1:38 AM > > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > Subject: [Rails] lighttpd / fcgi / windows? > > > > I''m about to take a largish rails app live this week on a Windows > > Server > > 2K3 box. It''s a dedicated box for this app so I don''t need > vhosts; I''m > > doing OLTP so it needs to be fast + secure, hence lighty. > > All of my other rails experience is with Apache2 / fcgi / linux. Can > > anyone point me towards some documentation for setting up > lighttpd and > > fcgi on Windows? Is there anything I should watch out for? Is > this the > > right way to be going about this? > > > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s > > experiences and suggestions. > > > > Thanks, > > -- > > Brad Ediger > > 866-EDIGERS > > > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
take a look at http://www.zedshaw.com/projects/scgi_rails/win32.html ________________________________ From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Brad Ediger Sent: Monday, 26 September 2005 11:59 AM To: Alexander Aguilar; rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails] lighttpd / fcgi / windows? Are there any win32 binaries for SCGI? I don''t have a development environment on that machine and would really like to avoid installing one. On Sep 25, 2005, at 8:43 PM, Alexander Aguilar wrote: http://www.mattmccray.com/archives/2005/09/24/rails-on-windows-and-apach e2/ seems like SCGi would be your best bet On 9/25/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: That mirrors my experience. I gave up in frustration and pulled cygwin back out. I''ll have to look at SCGI later, but for now (for a speedy deployment) it''s running Apache2 and FCGI. Thanks to all, be On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote: > Unfortunately lighttpd has not been ported to Win32, and everything > I''ve > read about the cygwin version makes me think its not ready for > production usage. > > -----Original Message----- > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org ] On Behalf Of Brad Ediger > Sent: Sunday, 25 September 2005 1:38 AM > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails] lighttpd / fcgi / windows? > > I''m about to take a largish rails app live this week on a Windows > Server > 2K3 box. It''s a dedicated box for this app so I don''t need vhosts; I''m > doing OLTP so it needs to be fast + secure, hence lighty. > All of my other rails experience is with Apache2 / fcgi / linux. Can > anyone point me towards some documentation for setting up lighttpd and > fcgi on Windows? Is there anything I should watch out for? Is this the > right way to be going about this? > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for people''s > experiences and suggestions. > > Thanks, > -- > Brad Ediger > 866-EDIGERS > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Brad, You can go to http://www.zedshaw.com/downloads/scgi_rails/ and grab one of the two .zip files there for pre-compiled mod_scgi modules for Apache1 and Apache2. They were built by Curt Hibbs. You should also read: http://www.zedshaw.com/projects/scgi_rails/win32.html for win32 specific information. Zed A. Shaw http://www.zedshaw.com/ On Sun, 25 Sep 2005 20:59:22 -0500 Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote:> Are there any win32 binaries for SCGI? I don''t have a development > environment on that machine and would really like to avoid > installing one. > > On Sep 25, 2005, at 8:43 PM, Alexander Aguilar wrote: > > > http://www.mattmccray.com/archives/2005/09/24/rails-on-windows-and- > > apache2/ > > > > seems like SCGi would be your best bet > > > > > > On 9/25/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: > > That mirrors my experience. I gave up in frustration and pulled > > cygwin back out. I''ll have to look at SCGI later, but for now (for a > > speedy deployment) it''s running Apache2 and FCGI. > > > > Thanks to all, > > be > > > > On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote: > > > > > Unfortunately lighttpd has not been ported to Win32, and > > > everything I''ve > > > read about the cygwin version makes me think its not ready for > > > production usage. > > > > > > -----Original Message----- > > > From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org ] On Behalf Of Brad > > Ediger > > > Sent: Sunday, 25 September 2005 1:38 AM > > > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > Subject: [Rails] lighttpd / fcgi / windows? > > > > > > I''m about to take a largish rails app live this week on a Windows > > > Server > > > 2K3 box. It''s a dedicated box for this app so I don''t need > > vhosts; I''m > > > doing OLTP so it needs to be fast + secure, hence lighty. > > > All of my other rails experience is with Apache2 / fcgi / linux. > > > Can anyone point me towards some documentation for setting up > > lighttpd and > > > fcgi on Windows? Is there anything I should watch out for? Is > > this the > > > right way to be going about this? > > > > > > Yes, I have google''d and wiki''d (nice i2!). I''m looking for > > > people''s experiences and suggestions. > > > > > > Thanks, > > > -- > > > Brad Ediger > > > 866-EDIGERS > > > > > > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >
Thanks. I had been to your site but somehow missed the binaries. I''ll attempt this this week if I have time. On Sep 26, 2005, at 9:41 AM, Zed A. Shaw wrote:> Brad, > > You can go to http://www.zedshaw.com/downloads/scgi_rails/ and grab > one > of the two .zip files there for pre-compiled mod_scgi modules for > Apache1 and Apache2. They were built by Curt Hibbs. > > You should also read: > http://www.zedshaw.com/projects/scgi_rails/win32.html for win32 > specific information. > > Zed A. Shaw > http://www.zedshaw.com/ > > > > On Sun, 25 Sep 2005 20:59:22 -0500 > Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: > > >> Are there any win32 binaries for SCGI? I don''t have a development >> environment on that machine and would really like to avoid >> installing one. >> >> On Sep 25, 2005, at 8:43 PM, Alexander Aguilar wrote: >> >> >>> http://www.mattmccray.com/archives/2005/09/24/rails-on-windows-and- >>> apache2/ >>> >>> seems like SCGi would be your best bet >>> >>> >>> On 9/25/05, Brad Ediger <brad-sod+mMc99o6+XT7JhA+gdA@public.gmane.org> wrote: >>> That mirrors my experience. I gave up in frustration and pulled >>> cygwin back out. I''ll have to look at SCGI later, but for now (for a >>> speedy deployment) it''s running Apache2 and FCGI. >>> >>> Thanks to all, >>> be >>> >>> On Sep 25, 2005, at 6:35 PM, Neville Burnell wrote: >>> >>> >>>> Unfortunately lighttpd has not been ported to Win32, and >>>> everything I''ve >>>> read about the cygwin version makes me think its not ready for >>>> production usage. >>>> >>>> -----Original Message----- >>>> From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org ] On Behalf Of Brad >>>> >>> Ediger >>> >>>> Sent: Sunday, 25 September 2005 1:38 AM >>>> To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> Subject: [Rails] lighttpd / fcgi / windows? >>>> >>>> I''m about to take a largish rails app live this week on a Windows >>>> Server >>>> 2K3 box. It''s a dedicated box for this app so I don''t need >>>> >>> vhosts; I''m >>> >>>> doing OLTP so it needs to be fast + secure, hence lighty. >>>> All of my other rails experience is with Apache2 / fcgi / linux. >>>> Can anyone point me towards some documentation for setting up >>>> >>> lighttpd and >>> >>>> fcgi on Windows? Is there anything I should watch out for? Is >>>> >>> this the >>> >>>> right way to be going about this? >>>> >>>> Yes, I have google''d and wiki''d (nice i2!). I''m looking for >>>> people''s experiences and suggestions. >>>> >>>> Thanks, >>>> -- >>>> Brad Ediger >>>> 866-EDIGERS >>>> >>>> >>>> >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> _______________________________________________ >>>> Rails mailing list >>>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>>> http://lists.rubyonrails.org/mailman/listinfo/rails >>>> >>>> >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> _______________________________________________ >>> Rails mailing list >>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >>> >> >> >> > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >