Displaying 20 results from an estimated 7000 matches similar to: "fastcgi help!!!"
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 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 = (
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
2007 Feb 18
1
FastCGI without ScriptAlias
Hi,
I made some experiments with the sample blog application, my index.fcgi
file contains the following:
require ''camping/fastcgi''
Camping::Models::Base.establish_connection(
:adapter => ''sqlite3'',
:database => ''database/camping.db''
)
Camping::FastCGI.serve(''blog.rb'')
Without ScriptAlias the application works fine,
2005 Sep 28
2
fastcgi timeout settings
I have few lengthly processes in my application, and I''m getting fastcgi
timeout after 30 seconds.
From apache log:
FastCGI: comm with (dynamic) server
"D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle
timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji
I tried to set timeout in apache conf by:
<IfModule>
FastCgiConfig
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
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
2006 Jan 26
2
Apache FastCGI seems single threaded (W2K)
Hi,
I have set up Apache 2, FastCGI on W2K. My Rails project seems to run
fine. I wanted to test how many FastCGI processes I would need. So I
created a new project with 1 controller, that has 1 method :
def index
s = Time.new
while Time.new - 3 < s
end
render_text "#{s.strftime(''%H:%M:%S'')} -
#{Time.new.strftime(''%H:%M:%S'')}"
end
The
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all,
I've read a bit about fastcgi, and wondered if it might be an
interesting solution for e.g. running php in a user-switched environment
or running ruby-on-rails etc.
But I wonder why nobody (searched on Google) seems to use CentOS with
mod_fastcgi for Apache 2.x.
And I also wonder why people actually using Apache 2.x and ruby-on-rails
with CentOS did run a lighthttpd-fastcgi
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI.
I have this config under httpd.conf
------------------------
LoadModule fastcgi_module modules/mod_fastcgi.dll
...
Alias /fatturails/ "C:/Programmi/Apache
Group/Apache2/htdocs/fatturails/public/"
<Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public">
AddHandler fastcgi-script .fcgi
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
2007 Oct 24
3
fastcgi
Hello
is there any fastcgi rpm available.
I downloaded fastcgi rpm from pbone.net, but it does not contain
mod_fastcgi.so
what about srpm ?
http://rpm.pbone.net/index.php3/stat/4/idpl/612033/com/mod_fastcgi-2.4.0-1.i386.rpm.html
thanks for help
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,
2006 Jun 15
2
FastCGI can''t find rubygems?
Hi all,
I''m trying to use Apache 2.0.52 and FastCGI on Mac OS 10.4.6 and I''m having
some trouble. The server starts up fine, but I get the error at the bottom
of this post once I make a request to the rails app. I was curious if
anyone had an idea as to why it wasn''t working. I have everything installed
correctly (rubygems, fastcgi, ruby bindings, etc). I had this
2006 Apr 12
3
Apache 1.3 + remote FastCGI balancing
Cheers,
As I have a lot of stability problems with Lighttpd + FastCGI-Cluster I
wanted to test Apache 1.3 as most of the "big" sites like 43people or
BaseCamp run on it.
Every example I find only talks about lokal FastCGI processes and not
about remote ones and explains how the requests are balanced.
Are there any good examples out there and can Apache1.3/mod_fastcgi load
balance
2005 Jun 24
14
apache2 fastcgi (fcgi) internal server errors, still :(
hi all,
I can blab, but here is a sample of my /var/log/apache2/error.log, it
has all the info:
any ideas what I can do prevent 500s from hitting my users? (besides
redirecting them with javascript to the same URL which will be fine on
the next request? :)
thanks,
_alex
[Fri Jun 24 12:30:45 2005] [error] [client 172.20.0.175] FastCGI:
incomplete headers (0 bytes) received from
2006 Apr 27
5
one more try - ENV and FastCGI
Hi,
I''m desperate, so I thought I''d try one more time in the hopes of getting a
different audience. Basically. it boils down to this. Using CGI, the ENV
hash is populated and is accessible from a model script. Using FastCGI, the
ENV hash is empty. Can anyone explain how I can fix this?
Thanks,
Stan Mcfarland
--
View this message in context:
2006 Jan 11
3
Idle Apache+FastCGI sleeping?
Wondering: Does Apache shut down inactive FastCGI processes if it
doesn''t get any requests for a while? My app works fine if it''s being
used regularly, but it will respond very slowly to the first request
after an hour of zero traffic.
Is there a way to keep FastCGI ready all the time, even when there
haven''t been any requests for a while? We''re deploying
2006 Apr 25
1
problem with environmental variables and FastCGI
Hi,
I''m trying to deploy my app using FastCGI, and I have a problem. The
application
works correctly in either FastCGI or CGI mode (toggling between
dispatch.fcgi and
dispatch.cgi in my public/.htaccess file) except that under regular CGI, my
ENV hash is correctly set, but under FastCGI, the ENV hash is completely
empty. I
thought that environment variables were automatically passed
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