similar to: FC4/Rails/Ruby/Apache/FastCGI wiki anyone?

Displaying 20 results from an estimated 10000 matches similar to: "FC4/Rails/Ruby/Apache/FastCGI wiki anyone?"

2006 Mar 13
9
apache 1 fastcgi config correct???
I followed this tutorial on the rails wiki about how to get apache with fastcgi working on a vps machine: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel In the tutorial it said to add this to the httpd.conf file to get fastcgi working. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> However
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 Jul 16
14
Rails, FCGI, DreamHost, and endless frustrations
Hi all! I''m trying to deploy an application out to a subdomain at dreamhost. I am getting the dreaded "Rails application failed to start properly" error. The logs for my app are empty. In the DreamHost FTP app, when I look in the error.log file (I''m guessing this the Apache error log file) I see the following for each of my attempts: [Sun Jul 16 12:36:32 2006]
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 = (
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 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
2006 Feb 01
5
Apache 2.2 don''t work with fastcgi
I''m trying to install mod_fastcgi for my rails app. I use Apache 2.2 and FastCGI 2.4.2 in windows xp. I have modified the httpd.conf adding LoadModule fastcgi_module modules/mod_fastcgi.dll (with mod_fastcgi.dll and mod_fastcgi.so in the modules directory). Whe i try to start Apache i have this error ---------------------------- apache: Syntax error on line 122 of
2006 Jan 06
3
fastcgi on apache
Running on Fedora Core I have been playing with some of the tutorials and one of them had me install lighttpd and lighttpd-fastcgi and that was much faster than apache seems to be. How do I get fastcgi stuff to work on apache... I have this setup for my tutorial environment in httpd.conf <VirtualHost *> DocumentRoot /home/craig/cookbook/public ServerName cookbook <Directory
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 Apr 21
8
FastCGI: Apache 1.x or 2 on new Debian System?
Hi, I am just installing a new test environment, but this is just for preparing the next one, which will be a production server. I am doing a clean Debian Sarge 3.1 install with stable sources. I have to decide if I install Apache 1.x or 2 now. I have read that FastCGI is better supported/developed for Apache 1.x. Is this (still) true? What is easier, more stable, etc? I want to run rails
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi
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 Apr 13
1
Setting CWD to be RAILS_ROOT for fastcgi/Apache
All, So I''ve discovered that when running on FastCGI with Apache and the working directory for the process is actually the "public" directory under RAILS_ROOT. Is there a way to force the current working directory to be RAILS_ROOT for the FastCGI procs so that file manipulation would then be done relative to RAILS_ROOT? Or should I just make sure that all of my paths are
2005 Dec 10
1
Anyone run lighttpd + fastcgi + PHP?
I have a website that needs to run Squirrelmail (which is PHP based), but I'd like to get it feeding into Ruby on Rails as well. I'm looking at lighttpd because it seems to be easier to get it integrated with Rails. I'm curious, though, how difficult it is to get PHP running with it in this configuration. Overall lighttpd seems to be pretty easy to use. However, it looks like I may
2006 Apr 19
5
Apache, Rails, FastCGI, Ruby, slow
I''m running Windows XP Pro on a not-so-new machine, Pentium 4 2.4GHz with 512 RAM. I''ve got Apache 2 installed and I''m using FastCGI to run Typo in development mode while I design a theme for it. But it''s slow, very slow. Inconsistently slow. If I reload a page, sometimes it happens pretty quickly. Sometimes it takes more than a minute. Sometimes it
2006 Apr 10
15
Apache/FastCGI still in development mode?
I''m running rails on RedHat ES3 managed by Plesk with Apache/FastCGI. I''ve followed the directions here: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnPlesk And got everything working, but my application refuses to run in Production mode. It runs in development mode despite the fact that I''ve set: FastCgiServer
2007 Apr 26
1
Apache + fastcgi and rails in vendor
Hi I want to run my new shiny rail application with apache. Running my application using cgi works but is very slow. So I want to switch to fastcgi. I downloaded and installed mod_fcgid and have apache running my fcgi scripts. Now my problems start :-( I''m running apache on an ubuntu system. The ubuntu packed for ruby and RoR is not the most recent. As I need the most recent rails
2006 Jan 26
2
Run fastcgi in Apache 1.3, or proxy through lighttpd?
I''m working with a guy who has Apache 1.3 installed on his server, and it''s not an option to simply use lighttpd for a Rails application I''m helping him with. I''ve seen that Apache 2 apparently is crappy when it comes to fastcgi, but 1.3 isn''t so bad. I can then either just run my app straight in Apache, or I could proxy it through to lighttpd. Which
2006 Jul 21
3
ROR - Apache - FastCGI / Can''t see stylesheets or javascript
Folks ... I have been porting my app from dev environment on Webrick to Apache with FastCGI. I have the app responding and pulling up the data, but it is ignoring the "images", "stylesheets", "javascripts" directories located in the public directory. I''m running Apache under Suse Linux 9.x. Here is the information that I have in my vhosts.conf file: