similar to: RoR with FastCGI cannot get it working.

Displaying 20 results from an estimated 30000 matches similar to: "RoR with FastCGI cannot get it working."

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:
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 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
Dears, Thanks to Demetrius (dema.ruby.com.br, see Taming FastCGI) I''ve a running FastCGI Rails 1.0 environment with : - Win XP "Professional" (just brand name) - Apache 2.0.55 (msi) - Ruby for Apache 1.3.1 - Database backend is now Oracle 8.1 Everything run fine with default environment, I''m confused for switching into ''production''. By default
2006 Jan 19
5
RoR still not working on SuSE 9.0 - incomplete headers received
Hi, I''ve already posted my problem a few weeks ago on several forums, or lists. I still have the same problem: I have a SuSE 9.0 machine, Apache 2.x, ruby 1.8.4 I wanna get RoR working with fastCGI. I have installed different versions of fastCGI, have checked the permissions of the fcgi-ipc directory, reinstalled everything and it still doesn''t work. In the browser window I
2006 Feb 14
5
problem with apache
Hi! I don''t know much about linux and apache configuration, so we''re using cpanel on our server to manage accounts etc. I was trying to install ror (according to this page: http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel) on our server, but it didn''t worked. If i enter "server.com/rails" i get "/testapp/index.html was not
2006 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All, I have all of the components that I need to install RoR under FCGI for Apache 1.3.34. I have: mod_fcgi 2.4.2 fcgi 2.4.0 (developer''s kit) ruby-fcgi-0.8.6 I am comfortable up to the point of installing mod_fcgi, however, I don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi. How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there are
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
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
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi. My app works using webrick. I''ve even hard-coded development mode in environment.rb in order to get most descriptive messages, but the best I get is the following in the apache2 errorlog: [Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete headers (35 bytes) received from server
2006 May 11
3
LightHTTPD FastCgi Error in Production Mode
I''ve been banging my head against the following for about 8 hours now, and have exhausted my web research options: /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21:in `require'': no such file to load -- /usr/home/matthew.feadler/rails/avclfc/public/../config/environment (LoadError) from /usr/home/matthew.feadler/rails/avclfc/public/dispatch.fcgi:21
2006 Feb 11
1
Fastcgi and mysql woes
Hi, I have been heck of a time to get mysql and fastcgi to work properly on my Mac OS X box. I keep getting the following error: Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (13) I have even tried commenting out the "socket" option in my database.yml but it still gives me the same error. I''m ok when I
2006 Mar 21
5
RoR and Growing Pains
I have persuaded my company to move towards an RoR shop... from a PHP 5 (with in-house-built framework)... so the jump is not terribly bad. I''m REALLY excited actually! My problem: I am overwhelmed with all the setup Loops I have to jump through to get RoR setup. I tried it on my current Apache 1.34 and decided it''d be easier to make the Lighty (1.4.11) jump. So I did. I get
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything seems to work except for deployment. i go through the entire process of setting up a new rails app on a cpanel account and i get: Not Found The requested URL /testapp/index.html was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
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
2006 Mar 25
1
confused on RoR deployment
sorry if this seems to be a dumb question. i just started trying to learn RoR this week. basically i got everything running great locally on my mac. i have a dedicated server that i''d like to start using ruby on rails for but i''m a little nervous about installing it. the main thing is deplyment in apache. i have apache turned on locally, but i think it''s still using
2006 Dec 27
7
A FastCGI-compliant executable for RubyOnRails
We are looking for a FastCGI protocol compliant RoR executable that can be used to host RoR in FastCGI mode. However, neither Ruby.exe nor Rubyw.exe appear to work with the FastCGI protocol (http://www.fastcgi.com/devkit/doc/fcgi-spec.html). Perhaps we are missing specific command line switches, or environment variables necessary to make this work. Any information much appreciated. Thanks,
2005 Aug 24
1
FastCGI timeout problem
Hi everybody, after more than 18 hours trying to get Ruby Rails running, i ran into this problem that i cannot solve. I want to mention that with normal CGI the test app was running fine. FastCGI is making me problems. I receive in the browser: "Application error Rails application failed to start properly" and in apache2 log files i have: [Thu Aug 25 00:13:49 2005] [error] [client
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 Aug 16
5
Dreamhost FastCGI: incomplete headers (0 bytes) errors
Sorry to trouble the list with another Dreamhost problem, but looking through the archives I see nothing that can solve my problem. I have installed my app as per http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Quick_Start_Guide_August_2006 with a symbolic link from my_domain.tld in ~/ to ~/apps/residence/public/ I get the Rails welcome screen. I have uploaded my app directory etc, and
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
Hello All, Get [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] (OS 2) Can''t find specified file: FastCGI: failed to connect to server "C:/usr/www/ public/dispatch.fcgi": CreateFile()/WaitNamedPipe() timed out [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] FastCGI: incomplete headers (0 bytes) received from server "C:/usr/www/public/ dispatch.fgi"