Displaying 20 results from an estimated 100000 matches similar to: "Apache2 and fcgi external"
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
2006 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain
old CGI and I''m trying to get it running under FCGI with multiple hours
of frustration. Lately, I am running dispatch.fcgi standalone from the
command line. It gives me a not very helpful one line error message;
Status: 500 Internal Server Error
The log file produces a not very helpful 2 line message;
2007 Jul 30
1
Camping Apache2 & FCGI - Internal Use
Hey Folks,
I''m deploying a camping app on an internal Apache2 + FastCGI server at my
office. Of course, on my Mac it works great, but I can''t get things to work
with Apache and FCGI. I''ve followed the directions on why''s page
documenting how to do this, but I''m getting the following error in my Apache
error.log file:
FastCGI: (dynamic) server
2006 Feb 02
4
AjpRails; Rails runner using AJP13
Hello, all.
I released AjpRails 0.1.0. AjpRails is a script for running Ruby on
Rails. Rails this script runs uses AJP13(Apache JServ Protocol 1.3)
instead of CGI or FastCGI, to cooperate with your HTTPd.
Its RubyForge project is:
http://rubyforge.org/projects/ruby-ajp/
Project home page is:
http://ruby-ajp.rubyforge.org/wiki/wiki.pl
Now, AjpRails is slower and much more unstable than
2005 Nov 25
0
Malformed Header with Apache2 + FCGI...
Once again with feeling...
Environment is Suse 9 + Apache2 + fcgi + oracle + rail 0.14 + ruby 1.8.
Everytime I restart apache on this box and hit the site I get the
following
error in the log:
FastCGI: comm with server /home/www/myapp/public/dispatch.fcgi aborted:
error
parsing headers: malformed header ''Config arg usernameBubba''.
Hittting refresh in the browser once more
2006 Jan 09
3
FCGI and Apache2 on win performance problem
Hi all,
I am having problems with FCGI and Apache2 on windows.
The error I often receive is 500 error code response with logs listed
down. I successfully use Webrick server and CGI (very slow). I had
configured apache as is described in these document:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows.
Any suggestions?
Logs:
> Errno::E232 (The pipe is being
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 Feb 24
2
Help with the configuration of apache and fcgi
Hi Everyone,
I am sure this question has been asked many time before but I really could
not get a good solution.
The problem I am having is that the application I wrote is acting very slow.
For example for the production database, the query I make takes about 3-4
minutes. The application connects to 2 oracle databases(on a remote
location) and gets information based on a given search criteria.It
2006 Jun 24
6
apache2 on red hat linux need help anyone
I''ve poured over many docs online and thought it would be wonderful to
get RoR running in 15 minutes. Well after 15 hours, I''m completely
stuck and ready to give up on RoR. I''m hoping somebody can give me
some guidance. I''ve pulled out my hair and am bald like others who
have tried to get RoR running without any luck.
When I run
2006 Feb 10
5
Re: Manually running dispatch.fcgi fails (Please help!!)
I''m really lost on this issue. Do I need to reinstall rails / gems?
The rest of my rails setup seems to be working. I just can''t run
dispatch.fcgi. (Details in original message below).
I have no idea how to troubleshoot this. I''m not even positive it is
supposed to be runnable from the command line. I found a
troubleshooting guide that implied it was supposed to
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat
server under Apache 2 / fcgi... Every time I try to load the public
home page, I get this in my error log:
[Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI:
comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/
public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
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
2005 Mar 10
5
dispatch.fcgi dieing randomly
Recently my application has refused to start on my production
environment. The setup is debian(unstable)/apache2/fastcgi/mysql
Rails 0.10 (upgrading to 0.10.1 as we speak)
When I first start up apache the machine grinds to a crawl starting up
the dispatch.cfi processes. It''s a VPS with 256M of ram, but still
(in addition to user time) it''s spending 30% of time in system
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
2006 Jan 14
6
Error installing Rails/FastCGI/Apache2
Trying to install rails/fcgi/apache2. Following these instructions:
http://xmlareas.com/ruby-rails-howto.html
Using Fedora Core 4. I installed ruby and ruby-devel using apt-get.
Everything under Adding FastCGI (optional) works fine up to the gem install
fcgi part. Here is what happens:
[root@paulbarry fcgi-2.4.0]# gem install fcgi -r --
-with-fcgi-lib=/usr/local/fcgi/lib
2006 Feb 09
2
Manually running dispatch.fcgi fails
I''m a newbie trying to setup lighttpd. It is failing with error 500.
I tried running dispatch.fcgi by hand and I''m getting:
# ./dispatch.fcgi
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant RailsFCGIHandler (NameError)
from ./dispatch.fcgi:24
Not sure how to proceed from here.
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 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
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It
works fine when run as WEBrick ("ruby script/server").
As suggested in
http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php
, I tried running dispatch.fcgi on the command line. When I run it, no
matter where I run it, it outputs:
500 Internal Server Error
Both the #! (shebang)
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