similar to: apache and fcgid

Displaying 20 results from an estimated 2000 matches similar to: "apache and fcgid"

2006 Jul 28
4
[mod_fcgid] 503 server temporarily unavailable
Hi There, Every now and then, and recently more and more we get a "503 server temporarily unavailable" error from our rails app. We are running Rails 1.0 with mod_fcgid in Apache 2.0.54 on Debian The thing is I don''t think we have such a heavy load on the server, and I haven''t seen this error occur at all outside the rails app. In fact I don''t think I ever
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 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting my rails app up and running on apache2+fcgid. Webrick runs, but dispatch.fcgi never actually runs, and apache spits out a grusome "Premature end of script headers: dispatch.cgi" error message in the log. Mr. Cheetham describes his problem at http://www.archivesat.com/Typo_blogging_engine/thread164398.htm I
2005 Dec 28
1
Can''t quite get fcgid working
I''m having trouble with running my app under fcgid. I am getting errors in my Apache log. It seems that it is choking on the gems replacement for require. The relevant lines from /var/log/apache2/error.log: /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from
2007 May 17
3
Ubuntu rails server
Hello, I try to install on my ubuntu ruby on rails server. I have install ruby,rails,gem and all files but doesn''t work. When i run the server with webrick works perfect but when i use apache i get this message: We''re sorry, but something went wrong. We''ve been notified about this issue and we''ll take a look at it shortly. Here are my installed app versions:
2006 Mar 06
4
Apache 2.x: Use fcgid or Mongrel?
Hi, There''s lots of stuff going on currently with choices of production deployment environments. But I''m not clear on a few things as I need to decide on a production setup where Apache is a given. A recent thread (http://www.ruby-forum.com/topic/56590) seemed to favor Apache 2 with mod_fcgid. And this is supported in articles such as:
2006 Apr 03
11
Runaway FCGI Processes with Debian, Apache
Hi all. There is an issue with Rails, FastCGI and Apache2 on Debian that I''ve been dealing with since I started Rails development in late 2005. I''ve developed various workarounds but have not been able to solve the problem at the root. Every so often, for reasons I''ve never been able to determine, a load of dispatch.fcgi processes get spawned and take over my whole
2006 Apr 09
18
I can''t get mod_fcgid to work
Hi, I just installed mod_fcgid on my apache2 server. When I try to load my application I get an "Application error - Rails application failed ..." message. In my Apache2 error-log it says: Premature end of script headers dispatch.fcgi mod_fcgid process /data/www/app/dispacth.fcgi exit (communication error), terminated by calling exit(), return code 1 Any help with this would be
2006 Jun 07
7
Tunneling in capistrano twice
Hi there, The default recipe expects you to be able to access your web server directly from your local machine. On our web server, for security purposes, it is only possible to ssh to it through one particular ip (which is also a remote machine.) The capistrano source is so compact and tidy it looks very hackable. But rather than messing around I thought I''d ask first if anyone else
2006 Jun 15
12
RoR on Apache2
Hello, I''ve been going though the "4 Days on Rails" tutorial at http://rails.homelinux.org/ test-driving ruby on rails using the WEBrick server without problems. I''m trying to move the app to be seen by apache2, and am having some troubles. I''ve looked through many guides online which all say pretty much the same thing, which, I think, I am doing.
2006 Feb 12
1
fcgid -> errors
Hi, I''m trying to get rails running on Debian stable with Apache 2, mod_fcgid, Rails 1.0. The application works fine with webrick (*). Let''s start here: @eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi Status: 500 Internal Server Error Seems to result in the following in the log files: [12/Feb/2006:12:18:40 :: 4105] starting [12/Feb/2006:12:18:40 :: 4105] terminated
2006 Aug 15
2
Apache & FCGI: Premature end of script headers:
Hi, I have quite a problem right now. After finish of development I installed rails with fcgi and apache on my production env. Everything seems to be configured ok, but once I while I get the famous error message: " Premature end of script headers: dispatch.fcgi" I cant see any generel configuration problem, as sometimes everything is running fine. Maybe it is a problem related to
2006 Mar 23
1
mod_fcgid
Hello, I''m using rails on apache2 with mod_fcgid and I can''t seem to set the RAILS_ENV properly. I have dev & production vhosts and would like to set the environment from within apache rather than globally via fcgid.conf, and I thought this might work from within the relevant vhost: DefaultInitEnv RAILS_ENV production but it seems to do nothing... Does anyone know the
2006 Jun 22
9
Again on Apache 2
Hello everybody. I know, I know, another post about Apache 2, but I have looked a lot on the internet and I haven''t found the answer to my problem. I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11 (compiled and installed) and Rails... I don''t know what version as this one I haven installed
2006 May 07
0
apache/lighttpd or apache with fcgid
I am trying to determine (from people''s experience here) if there is a benefit to proxying apache -> lighttpd -> rails instead of just using apache mod_fcgid -> rails. I am having some concerns of the stability of the fcgid apache modules as well as the incredibly painful first connect issue with apache mod_fcgid. Is the lighttpd fcgi more stable and mature than apache ? Is
2006 Feb 24
4
lighttpd and Apache .. will they play together?
Can someone point me to a tutorial or web example of doing this ... I want to have a site that is normally pure content served via Apache and I want to set up a Rails app on the same box that is served via lighttpd. Now I want the Apache site to be able to retrieve formatted pages for MySQL database queries by the Rails app. I will also be using ActionMailer under the Rails app. How can I
2006 Aug 31
2
How to set RAILS_ENV for different directories (fcgid)
Hello! I want to use the same application in two environments (production and development) on the same server (apache2 with fcgid) in different (aliased) directories. Is there a way to specify RAILS_ENV inside my <Directory> directives? I have the line DefaultInitEnv RAILS_ENV production in my httpd.conf but I want one of the directories to be development. Setting the ENV var directly in
2006 Mar 24
0
fcgid woes
hi there, I''m running rails on apache2 with mod_fcgid which works, but I''m having trouble with environments adn separate dev & prodution vhosts. I have DefaultInitEnv set in the VirtualHost directive for each (as production | development), which works fine after a server restart for whichever vhost I hit first, but thereafter the RAILS_ENV seems to be locked into one
2006 Mar 07
6
fcgi dispatcher crashing
I''m trying to set deploy an app on apache2 with the fcgid module, but can''t seem to get anywhere. Things work fine with cgi, but when i switch to fcgi, i''m stuck with a ''503: Service Temporarily Unavailable''. There''s no error being logged anywhere, afaik. Trying to run dispatch.fcgi from the shell doesn''t work either. It bombs out,
2008 Jun 12
7
Problem uploading files (possibly an OS X issue?)
I have a running Rails application that uploads files back to the server occasionally. I recently switched my development machine from a Linux box to OS X 10.5, using the Apache server built-in on OS X and mod_fcgid. I thought everything was fine until I recently tried to use the file upload feature. If I specify a reasonable sized (164 Kb) file for upload then I get an immediate error, before my