Displaying 20 results from an estimated 20000 matches similar to: "rails server, what to use, fast cgi? apache2???"
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 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf:
FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env
RAILS_ENV=prod
uction -processes 5 -idle-timeout 60
<virtualhost 212.87.142.234:80>
ServerName www.gissmoh.de
DocumentRoot /var/www/gissmoh.de/public
CustomLog /var/log/apache2/gissmoh.de/access.log
combined
SetEnv RAILS_ENV production
2005 May 14
6
HELP!! Serious memory leak in my rails app!!
I''m having a huge memory leak problem with a rails application I''m developing!
I first noticed that when running under webrick (via script/server) there was
a fast memory leak.. several users using the app for a few hours would use 2
gig of memory!!!
I searched the archives and found that some users found that it could be
avoided by saying --daemon when launching webrick..
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
2007 Jun 24
3
Fastest Way to run Rails
Hi,
I am a bit confused about what is the fastest way to run a rails application.
I have seen examples which use Apache, mongrel, lighthttpd, fastcgi etc.
Is there a correct way to do it? Or is it just a personal choice?
Thanks,
Keith
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
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 May 06
7
Rails hosting per user
I''m trying to set up shared rails websites, so every user has its own
public_html for rails scripts.
I''m not really satisfied with the fastcgi approach (cgi scripts can
sometimes be nasty security problems) so I''d like to try the another
approach. (If someone knows a good tutorial on installing rails on FreeBSD
including the fastcgi configuration that would be nice).
2006 Mar 04
6
Can''t get Fast CGI working.
Well, after many hours of tinkering and internet browsing I just can''t
get Fast CGI to work with Rails and Apache 1.3 on FreeBSD 5.4 Normal CGI
works fine, but as soon as I enable FastCGI in .htaccess I get the
message:
Application error
Rails application failed to start properly
Here''s what I''ve done so far:
- I''ve installed all the necessary software for
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
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
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 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 Jun 12
15
Mongrel Now Recommended Setup?
I see that the RubyOnRails.com site has migrated to Mongrel with Apache as a
front-end proxy.
Is that now the/a recommended setup for Rails apps? We''re still using FCGI
but I''m always interested to learn more about other folk''s successful
deployment choices.
Across all of our sites we''re pumping out about 300k pages per day so
anything that saves memory or has
2006 Apr 24
6
Error starting lighttpd
Hi, I''m getting the following error message when I try to start lighttpd:
BEGIN ERROR:
$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-04-24 03:29:39: (mod_fastcgi.c.1022)
2006 Mar 09
12
ruby/rails seems to be fubar''d
Hello. Any help the community can give me will be greatly appreciated.
I''ve got the server guys who administer my dedicated server working on
my issue, but it''s been two days and they are still at square one.
Let''s start with the history. I''ve been working with ruby for a month
or so now, and am starting to get pretty comfortable with it. I asked
my host
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 22
3
Newbe Rails question on Apache.
Hello,
I am new to Rails, like totally new. I am not new to application development
having near 10 years experience with data mining and store front development
with various Java web severs.
I see a ton of power in Rails but I am slightly put off by what looks like a
difficulty when running Rails apps under Apache. So I am posting a few
prelimenary questions of getting Rails apps going
2006 Apr 21
4
Scaling Rails with Apache 2.2, mod_proxy_balancer and Mongrel
Cheers,
I''ve just published a blog post about scaling Rails with Apache 2.2,
mod_proxy_balancer and Mongrel. This way you do not need another proxy
server or load balancer for Mongrel. Just use Apache 2.2 and mod_proxy
balancer.
http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel
Jonathan
--
Jonathan Weiss
2006 Jun 15
6
Problem with lighttpd
I have a problem with lighttpd on OSX.
Everything builds fine (and webrick runs just fine) but lighttpd barfs:
edward-kenworthys-computer:~/Development/Ruby/pricematic/trunk edward$
script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown
2005 Dec 19
1
Lighty External Fast CGI Process Load Balacing Note
I''ve just spent a while chasing a false bug in lighttpd and load
balancing among external fast cgi processes due to what I think is a
documentation bug. Following the info on the wiki page
<http://wiki.rubyonrails.com/rails/pages/LighttpdWithProcessScripts>,
one would think that something like this works:
fastcgi.debug = 1
fastcgi.server = ( ".fcgi" =>
(