similar to: mod_fcgid

Displaying 20 results from an estimated 1000 matches similar to: "mod_fcgid"

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 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 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 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 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 May 24
2
named routes confusion
Hi, I''m trying generate a URL from a named route like: namedroute_url(params...) but the generated route is always coming out as the first match from the routes table. The named route is defined inside a map.with_options block, but that shouldn''t matter should it? dorian -- -- I do things for love or money
2006 Apr 28
2
tests and login_engine
Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine. all my assertions come back with: Expected response to be a <:success>, but was <302> Is there a way I can login from within a test?
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 Jan 23
2
require rmagick
Hello, I''m trying to use rmagick in a helper script (for auto-generating image sizes) and I''m not sure where I should be calling ''require''. currently I have: require ''RMagick'' at the top of my controller: class FilmsController < ApplicationController require ''RMagick'' but that''s giving me an error:
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi, Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails 1.2.3, Ruby OCI8 1.0.0-rc2 As soon as I compiled and installed the Ruby/OCI8 interface, I got the following error from my application: ========================= [notice] mod_fcgid: call /export/home/invido/invido/portal2/public/ dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
2006 May 09
1
name_url in tests
Hi there, I posted earlier asking about testing named routes in functional tests, but got no response, so I''m making my question less specific. It seems from the docs that it''s possible to to test named routes in cases such as: asserts_redirect_to name_url(:param => "whatever") but I haven''t seen any mention of it being used with any other tests and I keep
2006 May 16
3
wondering how to do some clever DRYing up
Hi there, I''m now getting to the point in my rails app where I can use all of the nice basic features like AJAX and engines etc... but, I want to get my hands a bit dirtier, whilst learning to DRY up my code a bit. I''m using AJAX quite a bit to dynamically populate/edit/sort has_many relationships in forms, and consequently on a model with many has_many''s I end up
2006 Mar 29
1
load testing
hi, does anyone have any pointers for load testing an app running on apache2 with fastcgi? I have an app running circa 3000 page requests per day, most of which are static pre-cached files and fastcgi seems to be coping well so far (crosses fingers) but I would like to be able to work out my server limit. Currently I have the following in my apache conf: FastCgiServer
2006 Mar 24
10
innodb vs myisam
Hi, I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really: 1. are transactions in activerecord dependent on innodb or do
2006 Aug 01
2
apache and fcgid
So I decided to just go with apache2 and fcgid. I looked into Mongrel and apache and I looked into lighttpd and fastcgi and found both to be too time consuming and not well enough documented for what I''m doing. My question is, how do I set up apache and fcgid to actually work? I got apache installed. I think I got fcgid installed (I read somewhere all I have to do is move the
2006 Jun 07
1
railstidy
Hi there, anyone had any trouble with railstidy? I''m using it on 1.1.2 just to tidy my output and I get a server error everytime, but the only log message I get is: FastCGI: incomplete headers (0 bytes) received from server "/var/rails/dev/public/dispatch.fcgi" I have: after_filter :tidy def tidy RailsTidy.filter(response) end ...in my application.rb and I can get
2006 Jan 18
1
using unique varchar instead of id
Hi, I just signed up so ''hello everybody''. As the title suggests, I was wondering if there was an easy way to specify that I want all actions/controls to be based upon a particular parameter rather than :id (in this case :unique_name). I don''t :id to appear in URLs or elsewhere, I want it all to work from :unique_name. It seems like something that I should be able to
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
2006 Jun 29
0
can''t run rails application
Hello, I''m trying to run Rails on Apache 2.0 with mod_fcgid. It seems like fcgi has been set up ok, but still I can''t run my rails application. Here is my httpd.conf IPCCommTimeout 40 IPCConnectTimeout 10 DefaultInitEnv RAILS_ENV production SocketPath /tmp/fcgidsock <VirtualHost *:80> <Location /> RewriteEngine On
2006 Apr 25
3
limiting options in file_upload
Does anyone know if it''s possible to set constraints to the size & type of file that file_column will accept? I''d like to limit to image files of less than 2MB. If this isn''t possible with file_column, is there a graceful way of getting the controller to handle it? thanks dorian -- -- I do things for love or money