similar to: Setting up FastCGI for RoR under Apache 1.3.34

Displaying 20 results from an estimated 10000 matches similar to: "Setting up FastCGI for RoR under Apache 1.3.34"

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
2005 Dec 20
1
trouble with fastcgi and "undefined method `is_cgi?''"
I''m trying to get started with fastcgi on apache 2.0.54 on Fedora Core 4. I''ve created a really simple Rails app that doesn''t do any database actions. It works fine when I call it as CGI, but when I try to switch to fastCGI, I have problems. I get the following error in log/fastcgi.crash.log: [20/Dec/2005:10:16:53 :: 26912] Dispatcher failed to catch: undefined
2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All, Apache 2/FastCGI on Linux My fastcgi config. file is set up to run the "test" RAILS_ENV. When I go to access a view associated with a particular controller, I keep getting a ENOENT (file not found) error on a custom config. file that I am attempting to load. What I can''t figure out is why it can''t find the file. Here''s the code that loads it in my
2007 May 08
1
Can't get Ruby on Rails with Apache and FastCGI
Hi! Environment ========= Solaris 10 Apache 2.2.0 with fcgid_module Ruby 1.8.4 Rails 1.2.3 I am trying to get FastCGI working. Initially I used "dispatch.cgi" successfully but when I switched to "dispatch.fcgi" I get ==================================================== Application error Rails application failed to start properly
2006 Sep 19
9
RoR with apache2 on SuSE
Hi, I have an application completed that was built with RoR on windows. So this of course was tested with the webbrick server. I now want to put the project on our apache web server for production. I am having a very hard time getting this accomplished. I followed some of the steps here (because not all of them worked):
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
2006 Feb 16
4
Lost while trying to deploy rails app on apache
I need to graft some rails apps onto a website running apache 1.3 and I must be missing something very obvious because I cannot get things working properly. Here is what I need: 1) The server must be running apache 1.3. A very large body of PHP content is currently vended by the server through 5 vhosts and I have neither the time nor resources to replace apache1 with apache2 or lighttpd. Maybe
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
2005 Dec 19
1
FastCGI: comm with (dynamic) server ...../dispatch.fcgi aborted: (first read) idle timeout (30 sec)
Hello, I just did a "gem update" on my server updating to the latest version. After this none of my scripts work. In apache error log I get: FastCGI: comm with (dynamic) server "/home/user/public_html/dispatch.fcgi" aborted: (first read) idle timeout (30 sec) My only guess is that the problem is related to the fastCGI binding but I have no idea what to look for. I
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions: http://xmlareas.com/ruby-rails-howto.html Using Fedora Core 4. I installed ruby and ruby-devel using apt-get. Everything under Adding FastCGI (optional) works fine up to the gem install fcgi part. Here is what happens: [root@paulbarry fcgi-2.4.0]# gem install fcgi -r -- -with-fcgi-lib=/usr/local/fcgi/lib
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 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and
2006 Feb 10
3
RoR, Apache 2, FastCGI
I have everything working and I am really excited about learning Ruby and Rails. But whenever I access my different defs in my controller it takes ~ 5 seconds before they are returned. I am working locally so I don''t know what the issue is. System Details: Windows XP Apache 2.0.55 Ruby 1.8.2 Rails 1.0 Seth Buntin Web Resources Coordinator Kentucky Academy of Technology
2006 May 17
12
Help with Apache config
I have been attempting for days to configure Apache for Rails. I have read forums, followed How-To''s all in vain. I am hoping someone can help me out. I am getting the Rails Welcome screen, but when trying to go to any other url, I get the 500.html message. Take a look for yourself at http://66.139.78.237 and click on "about your application''s environment".
2006 Jul 28
6
need recommendations for apache configurations
I''m running a rails app on FedoraCore4 and so far have been using lighttpd and fastcgi. I''ve decided to switch to apache because lighttpd has been far too unstable, unpredictable, and slow. I don''t know if it''s lighttpd or the combination of lighttpd and fastcgi but it''s just not working for me. I need something that has been proven to work and
2006 May 08
5
Ruby on Rails on Linux - Any suggestions/Help?
Hi, I''m really new to RoR and I''m trying to setup a development or even production server for Ruby on Rails. I''m trying to do it on Linux Debian, but somehow, I always get this Error: Application Error - Rails application failed to start properly This was running on Debian Linux, Apache2, Mysql and FastCGI. The Tutorial I used:
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production environment. The setup is debian(unstable)/apache2/fastcgi/mysql Rails 0.10 (upgrading to 0.10.1 as we speak) When I first start up apache the machine grinds to a crawl starting up the dispatch.cfi processes. It''s a VPS with 256M of ram, but still (in addition to user time) it''s spending 30% of time in system
2006 Jun 02
4
RoR on Apache not working
Hi I''m a RoR newbie, in fact i''ve been using it for less than 24 hours, but I''m not an internet/pc/apache/developement newbie so I expected this to go much easier :) Ok, here it goes. I''ve been trying to get RoR working with apache both on a RH server and after i didn;t managed there I tried on my machine, an windows XP/Apache2 machine. I don''t like
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 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: