similar to: FCGI Static server definition

Displaying 20 results from an estimated 800 matches similar to: "FCGI Static server definition"

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 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
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 Jun 30
1
running in production mode
I am running apache with mod_fastcgi on Linux - I would like to run my app in production mode, but I could not. Following is what I have in my httpd.conf. Can someone tell me why it does not recognize the env variable for production? The app always runs under development mode i.e ignores the RAILS_ENV directive. thanks/ thila. <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/
2006 Mar 15
5
Apache (both 1.3 & 2) not calling dispatch.fcgi on Debian
We''re trying to run Ruby on Rails on Debian with Apache and FastCGI, but can''t get it to work. As far as we can tell, it seems to go wrong in the final stages; Apache appears not to be doing anything with dispatch.fcgi, even though FastCGI looks to be set up correctly. We''ve followed several "how to"s, but we don''t get any other results. What
2006 Jun 30
0
Production Mode in my Rails Application not responding
I also had a problem with our client''s site www.storkselect.com. When working with up-dating coding...Everythng was fine until I changed the coding from: IfModule mod_fastcgi.c> FastCgiServer /var/www/storkselect/public/dispatch.fcgi \ -initial-env RAILS_ENV=development \ -processes 2 \ -idle-timeout 60 </IfModule> To
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 Aug 09
0
Deployment: Best way to switch between test and prod envs.
All, Not looking for advice on the relative wisdom of my actions :). I have a Rails app. running under Apache 2/fastcgi that I would like to switch from using the test environment (database) to using the production environment (database). I can do this by hand by modifying my xx_mod_fastcgi.conf file and setting RAILS_ENV to be the appropriate value in the command that initializes my
2006 Jan 11
3
FastCgi/OCI8 problem
Hi, I''m having problems running my rails application in the following setup Unix/Apache/FastCgi/Oracle10g. I had my app running quite happy until I installed the OCI8 driver. When I try to load the app I get in the apache logs the famous "undefined method ''define_a_column'' for class OCI8:Cursor (NameError)" I think the problem is with the fastcgi set up
2005 Dec 18
0
OpenBSD 3.8, Apache 1.3, FastCGI, Chroot
Okay, well the OpenBSD install/chroot guide is a good starting point.... Anyhow, Can someone shed some light on these particular error messages? [Sat Dec 17 18:42:34 2005] [notice] Initializing etag from /var/www/logs/etag-state [Sat Dec 17 18:42:34 2005] [notice] chrooted in /var/www [Sat Dec 17 18:42:34 2005] [notice] changed to uid 1, gid 1 [Sat Dec 17 18:42:34 2005] [notice] Apache/1.3.29
2006 Aug 07
1
apache-fcgi - multiple applications on same server
hello, I have a server running apache-1.3 with mod_fastcgi that''s happily running a rails application. Life is good ;) I would like to setup another application (vhost) on the same server.. How to do ? My httpd.conf says: <snip> # fastcgi <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fgci_ipc AddHandler fastcgi-script .fcgi FastCgiServer
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel but i''m having some problems. when i add: <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> under the line that says: LoadModule fastcgi_module libexec/mod_fastcgi.so apache fails to restart. i went on
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
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 Oct 06
0
Setting up apache for rails
I am a newbie to ruby rails and apache so i hope this is not a stupid question but, have written an application which runs on webrick the webserver that comes pre-packaged with locamotive. I am now trying to get the application to run on my apache server but i am having a small problem! in my httpd.conf i have set the server to load fast cgi and where the applications virtual host is to be
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 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different client machines)... the upload page just hangs... I''m running... - ruby 1.8.4 (2005-12-24) [i686-linux] - rails 1.1.4 - red hat el 4 - apache - fcgi (0.8.7, 0.8.6.1) - firefox 1.5.0.5 - httpd.conf <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig
2005 Mar 14
1
(newbie) /tmp/fcgi_ipc ?
I am running Rails on my Mac, installed from fink/gems. I get this error when I try to re/start Apache: FastCgiIpcDir /tmp/fcgi_ipc: access for server (uid -1, gid -1) failed: read not allowed If I chmod the /tmp/fcgi_ipc directory, apache starts and everything''s fine. Why is fcgi_ipc in my /tmp directory? Can anyone guess why the chmod''ing doesn''t seem to
2006 Apr 05
13
Apache Deployment Woes
Hi Everybody, I''m down to my last straw. I''ve been trying to deploy my latest rails project on Apache for about two weeks with limited success. I have a lot of info, but still no clue what is causing my problem. I decided to turn to the community for some help... Basically, my site works fine with Apache and FastCGI most of the time, but sometimes I get the "Rails
2005 Aug 31
6
Software to code Rails
Hi! After searching the list''s history an the rails-wiki I come to the conclusion that the subject of "which software to use for rails-coding" isn''t disucssed and written down yet. So here is my question: Watching a video like http://rubyonrails.org/media/video/clips/components.mov five question come to my mind 1. Whats the name of the commendline-software? 2. What