search for: fastcgis

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

Did you mean: 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
...ynamically means the FastCGI server (the monitoring/controlling process) will create and destroy FastCGI processes on an as-needed basis. - An example static configuration (from Norman Timmler and David Hansson): <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /app/public/dispatch.fcgi \ -initial-env RAILS_ENV=production \ -processes 15 -idle-timeout 60 </IfModule> (Note that the backslashes in the above FastCgiServer line should be removed--those three lines are really one line.) - An example dynamic conf...
2006 Apr 05
13
Apache Deployment Woes
...the same problem. I''m pretty confident that if I can fix the number of dispatchers, my problem will go away. Here is what I have in my httpd.conf (directly after the AddModule section): <IfModule mod_fastcgi.c> FastCgiIpcDir /var/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCgiServer /home/app1/public/dispatch.fcgi -idle-timeout 120 -initial-env RAILS_ENV=production -processes 4 FastCgiServer /home/app2/public/dispatch.fcgi -idle-timeout 120 -initial-env RAILS_ENV=production -processes 2 </IfModule> Note that I have two rails apps running on this server. As far...
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) [Wed Jan 18 14:58:12 2006] [error] [client 77.123.19.115]
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all, I can blab, but here is a sample 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
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> FastCgiConfig
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 necessary to make this work. Any information much appreciated. Thanks,
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,
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down... Rails application failed to start properly Imediately i started checking my logs and found quickly that something was wrong with the dispatch.fcgi or its function. I use FCGI, and it had been working perfectly with Apache 2.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
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> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
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 ruby-on-rails with CentOS did run a lighthttpd-fastcgi
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
2006 Mar 23
5
[OT] building fastcgi
Following the instructions on Hivelogic, everything works flawlessly on my Powerbook until I do the ''sudo gem install fcgi. I''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
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, fastcgi, ruby bindings, etc). I had this
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
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 Apache1.3/mod_fastcgi load balance
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'')} - #{Time.new.strftime(''%H:%M:%S'')}" end The
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:
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