search for: fastcgi

Displaying 20 results from an estimated 910 matches for "fastcgi".

2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache, both running FastCGI. I''m going to explain the configuration, but first: update. gem install camping --source code.whytheluckstiff.net == Mounting Root for Lighttpd+FastCGI == server.port = 3045 server.bind = "192.168.0.103" server.modules = (...
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 box. An Apache Server "has_many" FastCGI servers and a FastCGI server "has_many" FastCGI processes. A FastCGI server contro...
2006 Apr 05
13
Apache Deployment Woes
...my last straw. I''ve been trying to deploy my latest rails project on Apache for about two weeks with limited success. I have a lot of info, but still no clue what is causing my problem. I decided to turn to the community for some help... Basically, my site works fine with Apache and FastCGI most of the time, but sometimes I get the "Rails Failed to Start Correctly" error. I know what the problem is. It seems that although I tried to set apache to use a static number of servers, it still creates more dynamically. Here is a basic flow of what happens: 1. I restart the...
2006 Jan 18
7
FastCgi issue
Hi, I know that Apache2 + fastcgi is sometimes difficult to setup, but I was wondering if anyone has come across this error and if yes what did you do to resolve it? [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115] FastCGI: comm with server "/var/htdocs/ot/public/dispatch.fcgi" aborted: idle timeout (120 sec...
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
...of my /var/log/apache2/error.log, it has all the info: any ideas what I can do prevent 500s from hitting my users? (besides redirecting them with javascript to the same URL which will be fine on the next request? :) thanks, _alex [Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI: incomplete headers (0 bytes) received from server "/var/www/project_name/public/dispatch.fcgi" [Fri Jun 24 12:30:45 2005] [warn] FastCGI: server "/var/www/project_name/public/dispatch.fcgi" (pid 9337) terminated due to uncaught signal ''6'' (Aborted) [Fr...
2005 Sep 28
2
fastcgi timeout settings
I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCg...
2006 Dec 27
7
A FastCGI-compliant executable for RubyOnRails
We are looking for a FastCGI protocol compliant RoR executable that can be used to host RoR in FastCGI mode. However, neither Ruby.exe nor Rubyw.exe appear to work with the FastCGI protocol (http://www.fastcgi.com/devkit/doc/fcgi-spec.html). Perhaps we are missing specific command line switches, or environment variables nece...
2007 Feb 18
1
FastCGI without ScriptAlias
Hi, I made some experiments with the sample blog application, my index.fcgi file contains the following: require ''camping/fastcgi'' Camping::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''database/camping.db'' ) Camping::FastCGI.serve(''blog.rb'') Without ScriptAlias the application works fine, but only if I give the url with "i...
2006 Jun 15
6
Error in dispatch.fcgi...
....0.55, MySQL 5.0, Ruby 1.8.2 and Rails 1.1.2. What really got me wondering was that I did nothing. One day it worked perfectly, the next day it didnt.... no changes made inbetween... I have the following setup: dispatch.fcgi: #!c:/programfiler/ruby/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log # and the GC period is nil (turned off)....
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHand...
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all, I've read a bit about fastcgi, and wondered if it might be an interesting solution for e.g. running php in a user-switched environment or running ruby-on-rails etc. But I wonder why nobody (searched on Google) seems to use CentOS with mod_fastcgi for Apache 2.x. And I also wonder why people actually using Apache 2.x and ru...
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 ''pr...
2006 Mar 23
5
[OT] building fastcgi
...m getting no-definition errors all over the place. Any thoughts how to resolve this? Example of errors: No definition for fcgi_s_accept No definition for fcgi_s_each No definition for fcgi_s_each No definition for fcgi_s_iscgi -- View this message in context: http://www.nabble.com/-OT-building-fastcgi-t1327794.html#a3544682 Sent from the RubyOnRails Users forum at Nabble.com.
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all, I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having some trouble. The server starts up fine, but I get the error at the bottom of this post once I make a request to the rails app. I was curious if anyone had an idea as to why it wasn''t working. I have everything installed correctly (rubygems, fast...
2005 Jul 28
1
Rails+Apache 2+FastCGI on Fedora Core 3 Linux: Has anyone got it working well?
Hi All, I have a Rails application that needs to be served from a Fedora Core 3 Linux server. The application runs well as a "plain" CGI application. My next step was to speed things up with FastCGI installed via "gem install fcgi". (version 0.8.6.1). That approach lead to this error in the fastcgi.crash.log: Dispatcher failed to catch: undefined method `is_cgi?'' for FCGI:Class (NoMethodError) The next thing I tried was removing the fcgi gem and manually insta...
2006 Apr 12
3
Apache 1.3 + remote FastCGI balancing
Cheers, As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I wanted to test Apache 1.3 as most of the "big" sites like 43people or BaseCamp run on it. Every example I find only talks about lokal FastCGI processes and not about remote ones and explains how the requests are balanced. Are there any good examples out there and can Apache...
2006 Jan 26
2
Apache FastCGI seems single threaded (W2K)
Hi, I have set up Apache 2, FastCGI on W2K. My Rails project seems to run fine. I wanted to test how many FastCGI processes I would need. So I created a new project with 1 controller, that has 1 method : def index s = Time.new while Time.new - 3 < s end render_text "#{s.strftime(''%H:%M:%S'')} - #{T...
2006 Apr 27
5
one more try - ENV and FastCGI
Hi, I''m desperate, so I thought I''d try one more time in the hopes of getting a different audience. Basically. it boils down to this. Using CGI, the ENV hash is populated and is accessible from a model script. Using FastCGI, the ENV hash is empty. Can anyone explain how I can fix this? Thanks, Stan Mcfarland -- View this message in context: http://www.nabble.com/one-more-try---ENV-and-FastCGI-t1521255.html#a4131042 Sent from the RubyOnRails Users forum at Nabble.com.
2007 Oct 24
3
fastcgi
Hello is there any fastcgi rpm available. I downloaded fastcgi rpm from pbone.net, but it does not contain mod_fastcgi.so what about srpm ? http://rpm.pbone.net/index.php3/stat/4/idpl/612033/com/mod_fastcgi-2.4.0-1.i386.rpm.html thanks for help
2005 Aug 24
1
FastCGI timeout problem
Hi everybody, after more than 18 hours trying to get Ruby Rails running, i ran into this problem that i cannot solve. I want to mention that with normal CGI the test app was running fine. FastCGI is making me problems. I receive in the browser: "Application error Rails application failed to start properly" and in apache2 log files i have: [Thu Aug 25 00:13:49 2005] [error] [client 192.168.0.19] FastCGI: comm with (dynamic) server "/files/Siteuri/colectii/public/dispatch.fcg...