similar to: Problem integrating rails into apache

Displaying 20 results from an estimated 1200 matches similar to: "Problem integrating rails into apache"

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 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 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping 1.4.143 anyone using Apache/FastCGI in here? does not seems to be possible to use with Camping. anyone got better luck? this is my postamble if __FILE__ == $0 Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database => ''examples.db'' Blog::Models::Base.logger =
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:
2006 Apr 04
1
sessions failing on debian apache2 fast_cgi
Hi All, So I just pushed our rails app to our production server, but I''ve encountered a number of problems. Firstly the fast_cgi processes seem to be eating up a hell of a lot of memory, at times max out our 1gig of RAM. I''ve switched back to cgi for the moment, but independently of that sessions seem to be failing intermitently. The session will hold itself stable for a
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 Mar 02
9
FastCGI vs. Simple CGI
I''ve seen several postings where FastCGI is being used with RoR projects, yet, most of the material I''ve read (Dave Thomas'' book, online articles, etc) recommend not using FastCGI anymore because it is a dormant project and hasn''t been updated since 2003 (I think???). So, I went out and got Simple CGI instead. It had to be compiled and installed from
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 22
7
Can''t get rails working
I am trying to set up rails and am having problems. I have googled everything I could think of, but have not found my problem. Here are my specs. Gentoo Linux 2006.0 Apache 2.2 Ruby 1.8.4 Gems 1.8 Rails 1.1.2 mod_fcgid 1.08 When I try to access my test rails app through the webserver, I get the following error in the error.log (after seeing a html 500 error on the page). [Fri Apr 14 19:54:48
2006 Mar 15
6
my Rails app "freezes" everytime I log out from SSH
Hi there, I''ve a Rails app running on one of my shared hosting accounts. Everytime I log out from SSH, my Rails application shows this error message after 5-10 minutes: "Application Error (Rails)" Whenever I log back in to SSH with my account, my site is back to normal. I''ve Googled everywhere for days and tried all of these suggestions: - make sure
2006 Aug 01
6
[OT] PDF''s not Downloading in Win/IE
I have a Rails app that''s working perfectly (http://amuinsurance.com), but on Windows IE and no other browser, if I go for the URL: http://amuinsurance.com/content/marine_insurance.pdf -- View this message in context: http://www.nabble.com/-OT--PDF%27s-not-Downloading-in-Win-IE-tf2034599.html#a5597794 Sent from the RubyOnRails Users forum at Nabble.com.
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers! I am working on Site5, trying to get a working Camping application running. Unfortunately, my sole option in terms of deployment is FastCGI. I have no access to sudo so I cannot create ScriptAliases. I''ve taken the Camping Short Short Example and uploaded it, along with a dispatch.fcgi and an .htaccess file. My question is - given the state of Camping development right
2006 Jun 16
12
FastCGI times out?
Hello there, So I''m still struggling with this fastcgi stuff. I''m trying to upload and process a decent sized ZIP file, but the request dies before it finishes and I get the following error: FastCGI: comm with (dynamic) server "/Users/ryan/Workspace/rails/photos/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://photos/album/new/4
2006 May 19
5
more fcgi problems
Finally got fcgi installed with apache. Now whe I click on "About your application''s environment" on the Rails Welcome page, it simply prints out the dispatch.fcgi script as shown below. I would appreciate any help I can get on this. I can provide other infomation if necessary. #!/usr/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled #
2006 Jul 25
4
about PATH_INFO and FastCGI
in one of my recent email, I add .to_s to PATH_INFO in camping code. actually, this is probably very wrong. the problem is probably something like PATH_INFO does not exist when using FastCGI. I have not done all my homework, but so far what I found is lighttpd has a special option "broken-scriptfilename": breaks SCRIPT_FILENAME in a wat that PHP can extract PATH_INFO from it (default:
2006 Apr 19
7
Setup problem
I am trying to set up rails and am have problems. I have googled everything I could think of, but have not found my problem. Here are my specs. Gentoo Linux 2006.0 Apache 2.2 Ruby 1.8.4 Gems 1.8 Rails 1.1.2 mod_fcgid 1.08 When I try to access my test rails app through the webserver, I get the following error in the error.log (after seeing a html 500 error on the page). [Fri Apr 14
2007 Apr 10
3
Link to local files
I have a small rails system I am building. Part of the code allow uploading files in to RailsRoot/public/files folder I am running this system is several places that have different domain and folder combinations. cases: 1) domain1.com/folder_a # where folder_a is a symbolic link from Apache document root to the public folder of rails app 2) domain2.com/folder_b/public # where folder_b is
2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
Please, someone can tell me where session data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the
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
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 = (