similar to: FastCgiExternalServer vs. static/dynamic

Displaying 20 results from an estimated 200 matches similar to: "FastCgiExternalServer vs. static/dynamic"

2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
2006 Apr 08
3
FastCGI issues
I am attempting to get Rails running on Windows with an Apache 2 server. I seem to be having some trouble, and in spite of my best efforts to find a solution, I could not. I believe that I configured Apache correctly. I have included EnableSendfile Off EnableMMAP Off Win32DisableAcceptEx FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1 \ -initial-env
2006 Aug 05
0
RMagick and FastCGI on Windows
I''m having trouble getting RMagick to work on my Apache/FastCGI setup. If I top Apache and start WEBrick on the exact same app/dirs, it works fine. I installed RMagick following the instructions here: http://rmagick.rubyforge.org/install-faq.html#win That gives me: C:\ruby\lib\ruby\gems\1.8\gems\RMagick-win32-1.9.2-mswin32\lib
2006 Jan 19
0
Rails with Apache - application failed to start
Hi, I followed the instructions in the article http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows to make rails work with apache: Install Apache2, latest stable version Install the latest Ruby Installer for Windows Install the latest Ruby For Apache In httpd.conf I have: FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1 \ -initial-env
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears, Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a running FastCGI Rails 1.0 environment with : - Win XP "Professional" (just brand name) - Apache 2.0.55 (msi) - Ruby for Apache 1.3.1 - Database backend is now Oracle 8.1 Everything run fine with default environment, I''m confused for switching into ''production''. By default
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to rise to the stature of a true system administrator in the last couple of days (haha). I''m trying to understand how all of the pieces to this apache/fastcgi deployment fit together. Here''s what I''ve learned so far: * You need a separate FastCGI server for each Rails application on your
2006 Feb 19
0
[ADV] Shameless Hype for Ruby Stuff Goodness
RubyStuf.com, the premiere place for Ruby stuff, has some new, um, stuff. http://www.rubystuff.com/ Profoundly inspired by a series of ruby-talk threads on just how "dangerous" is Ruby comes "Ruby: You''ll shoot your eye out" shirts and mugs: http://www.cafepress.com/ruby_dangerous http://www.cafepress.com/rubyshootout (A big shout-out to David Koontz for the
2006 Jan 11
3
Idle Apache+FastCGI sleeping?
Wondering: Does Apache shut down inactive FastCGI processes if it doesn''t get any requests for a while? My app works fine if it''s being used regularly, but it will respond very slowly to the first request after an hour of zero traffic. Is there a way to keep FastCGI ready all the time, even when there haven''t been any requests for a while? We''re deploying
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It works fine when run as WEBrick ("ruby script/server"). As suggested in http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php , I tried running dispatch.fcgi on the command line. When I run it, no matter where I run it, it outputs: 500 Internal Server Error Both the #! (shebang)
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different client machines)... the upload page just hangs... I''m running... - ruby 1.8.4 (2005-12-24) [i686-linux] - rails 1.1.4 - red hat el 4 - apache - fcgi (0.8.7, 0.8.6.1) - firefox 1.5.0.5 - httpd.conf <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig
2006 Feb 02
4
AjpRails; Rails runner using AJP13
Hello, all. I released AjpRails 0.1.0. AjpRails is a script for running Ruby on Rails. Rails this script runs uses AJP13(Apache JServ Protocol 1.3) instead of CGI or FastCGI, to cooperate with your HTTPd. Its RubyForge project is: http://rubyforge.org/projects/ruby-ajp/ Project home page is: http://ruby-ajp.rubyforge.org/wiki/wiki.pl Now, AjpRails is slower and much more unstable than
2005 Dec 23
1
FastCGI and large file uploads
I use dreamhost for my hosting provider, and I am working on app where it requires large files (max 10 MB) to be uploaded to the server. As of right now the fastcgi processes are configured with: FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \ -idle-timeout 120 -maxClassProcesses 5 -killInterval 300 My problem is that I try and upload a file via the web that is around 5 MB
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems? The rest of my rails setup seems to be working. I just can''t run dispatch.fcgi. (Details in original message below). I have no idea how to troubleshoot this. I''m not even positive it is supposed to be runnable from the command line. I found a troubleshooting guide that implied it was supposed to
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500. I tried running dispatch.fcgi by hand and I''m getting: # ./dispatch.fcgi /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'': uninitialized constant RailsFCGIHandler (NameError) from ./dispatch.fcgi:24 Not sure how to proceed from here.
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
2005 Aug 11
0
fastcgiconfig in .htaccess?
Digging through some mailing list archives, I found a solution[1] (maybe) to my occasional fastcgi deaths, which return 500''s. Since I don''t have access to httpd.conf on my hosted server, is it possible to modify my .htaccess file in order to increase the idle-timeouts for fastcgi? What is the syntax? I tried adding the line: FastCgiConfig -idle-timeout 1200 -maxClassProcesses
2006 Sep 20
7
Updating to the bleeding edge version of Ferret
Hey guys, It has occurred to me that a lot of people need some of the fixes I make to Ferret ASAP and don''t like having to wait to long for the gem. On the other hand, it is a bit of a pain to download and install from subversion because then you need to uninstall when the next gem comes out. So I thought I may as well put some instructions out as to how you can build your own Ferret gem
2006 Feb 14
5
problem with apache
Hi! I don''t know much about linux and apache configuration, so we''re using cpanel on our server to manage accounts etc. I was trying to install ror (according to this page: http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel) on our server, but it didn''t worked. If i enter "server.com/rails" i get "/testapp/index.html was not
2006 Jan 18
1
The 30 year old *Ruby* Virgin
All, Apologies for the simplicity of the problem but getting started with InstantRails. Does anyone have any experience of setup in this way? Get to the: * Click on the Start SCGI button. * Once the SCGI server says that it is listening to 127.0.0.1:9999, open our browser and go to: www.mycookbook.com Unfortunately once I press the button, a DOS cmd window pops up and
2006 Jan 26
42
ruby script/generate scaffold Product Admin hangs
Hi I am running Mac OX tiger with the installed ruby 1.8.2, and mysql5 (I checked that it was running in preference). I tried to run the various fixes recommended in agileweb. I am stuck on page 57, script/generate scaffold... > Could you paste in your database.yml file, from the > "config" folder inside your Rails app? If you have any > passwords entered there, you should