Displaying 20 results from an estimated 9000 matches similar to: "Rails and proxies"
2006 Mar 29
13
Rails on Mongrel
Hi,
After following advice from you good folks, I gave mongrel a try in a
cluster design based on the example on the Mongrel website - and it
worked right out of the box which is great - and it''s very fast :)
I have got a bit stuck though. I have two MS Word files in
/public/files/. I can pull back these files no problem but it isn''t
sending a mimetype.
I think I have two
2006 Mar 02
2
A nasty evening with dispatch.fcgi
Hello all. Time for an all night installation
campfire (no pun intended) story.
I just helped a customer migrate from a single box
to a 5 box system.
2 Lighty
2 FCGI
1 DB
Everything went quite well. I scripted everything
so it would be easy to add more boxes in the future.
3 scripts, one for each box type above.
Then came time to get the site working. :-)
Lighty came up easily.
The DB came up
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But
i don''t understand what part Lighttpd (or Apache) has in the setup. I
know that you can use Mongrel on its own. What does Lighttpd improve
on?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Mar 31
6
Lighty+Mongrel: More than one connection per client?
I have an action which requests another URL from the same site (for
testing purposes), but it keeps timing out. If I use an off-site URL,
the action works fine. I also notice that I''m only able to request one
page at a time from my server - the rest just spin until the previous
requests complete. Is this some setting in Lighty, Mongrel, or my
browser (Firefox - I played around with
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2006 Mar 28
6
Deploying rails...
Hi,
I thought I''d give lighttpd and FastCGI a go but the latest version I''ve
found for fastcgi is 2.4.0 which was released in January 2003. Is this
the right version?
Can anyone recommend the versions I should use for FastCGI et al and
where to find them? I''m not sure I''ve really found what I''m looking
for...
--
Posted via
2006 Mar 31
35
Frustrated with RoR environment splintering
Why isnt the RoR community focusing on robust and scalable mod_perl style of
Apache environment, rather then splintering all over the place with
lighthttp, mongrel, WEBrick, SCGI, fcgi, etc???
Its frustrating as someone who is trying to migrate to RoR.
Its very unlikely I would ever get a contract to work on any webserver
except Apache, so it would seem logicaly to focus all our efforts to
2006 Jun 02
3
Configs not loading
Hi,
So in the past I''ve developed using Apache 2.0 MacOSX. I''ve just started a
new project and decided to switch over to LightTPD just to try it out. This
development is purely a learning endevor for me, so I welcome the idea of
stepping into new territory. As a result, I''m not sure if this is a
lighttpd problem or a Rails one. So pardon me if this is off topic to
2006 Feb 23
5
Help with SCGI please :(
Hi,
While learning Ruby and Rails, I decided I just as well learn Linux
along the way... It''s been fun, but I''m stuck at one of those
exasperating moments... I hope someone can help me :)
I installed Ruby 1.8.4 on Fedora Core 4, then Rails, then lighty, and
then SCGI.
I used yum to install lighty... and it already comes with mod_scgi.
I created my first application in
2006 Feb 10
3
Lighttpd segfaults on first access
I just got a new Debian Sarge server and followed the brainspl.at
"Debian Lighttpd Rails Stack" tutorial.
The only place I deviated was the version of Lighty. The page uses
1.4.7 and I spotted that 1.4.10 was available. I installed that and
couldn''t get anywhere. Lighty died on first access from the test
rails app, and even from a ultra basic static config. No log,
2006 Mar 06
13
Internal Server Error - I want to cry
I got a brand new Fedora Core 4 box and was all excited to get Rails
running on it. That was about two days ago. I did all the ''yum install
ruby, etc. etc. etc.'', then ''gem install rails, etc. etc. etc''. I''ve
tried running Rails with httpd (fastcgi and cgi), lighttpd (scgi,
fastcgi, cgi), mongrel, webrick, and even ''ruby
2006 Mar 07
4
Lighty + Mongrel?
On httpd I use ProxyPass and ProxyPassReverse to forward requests to
webrick and mongrel. How can I do this same thing using Lighty and
Mongrel?
Thanks,
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Jan 31
11
Mongrel HTTP Library 0.2.0 (Fast And RubyForgified)
Hi Everyone,
I''m happy to announce the 0.2.0 release of Mongrel -- the fastest
HTTP 1.1 library Ruby has yet.
http://mongrel.rubyforge.org/ -- ruby docs lame page.
http://rubyforge.org/projects/mongrel/ -- project page.
Special thanks to Tom Copland for setting up my RubyForge goodness,
and to Why for kicking in time to get the Camping examples up to snuff.
This release should
2006 May 11
5
Recommendations for Apache 2 with mod_fcgid
Hi,
Have been pulling out my hair for the last few days wondering what I''m
going to deploy my site onto.
I currently have FreeBSD 4.7, Apache 1.3.3, PHP 4 and MySQL 4 running a
year-old PHP site. Dated stuff I know!
The new version of the site will be entirely Ruby on Rails, and I am
wondering what order I should be doing things in terms of upgrades and
installation. I want to be
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one
problem: It doesn''t successfully restart lighttpd. I have the
following task in my deploy.rb file:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "/usr/local/etc/rc.d/lighttpd.sh restart"
end
This is on a FreeBSD system, so it''s using the rc script to
2006 Apr 01
7
Rails Cluster Design
Hello everyone!
A collegue and I are beginning development on a site that will
eventually need to very scalable (assuming our business model is a
good idea). My problem is that I''m not a sysadmin guru, and I''m not
terribly comfortable with the design of the hosting platform. We''re
going to start with two servers initially (for cost reasons), and I''m
considering
2006 Feb 07
4
Can''t stop/start lighttpd
Hello everyone,
I?ve been working with Ruby on Rails for about 2 months now and have
really enjoyed the ease of use of it. I?m only been doing development
on it so I?ve been using WeBrick. Recently, I have built a server
running Debian Linux, with ruby 1.8.2, rails 1.0.0, lighty 1.4.3, and
Mysql 5.0.18. I used WeBrick to generate a lighttpd.conf file for me, I
changed the paths in the
2007 Dec 18
3
Mongrel + Lighttpd
Hi guys,
I''ve been chasing a problem in my web-stack: Lighttpd -> Mongrel ->
Rails, and found a problem with the interaction of Lighttpd and Mongrel.
If a request takes more than 5 seconds, Lighty will retry it - and
then the requests / responses get mixed up in Lighty and it returns a
bad response to the client. Not good.
I''m convinced that the problem is
2006 May 30
3
more fcgi problems on apache
I''m having tons of problems with fcgi on apache2. The app didn''t
crash over the weekend when it wasn''t used. I ran it this morning and
it was fine. It''s an inhouse app so it wasn''t used for 3 days over the
weekend. It did however crash today. Does this sound like a bad fcgi
setup or just a very buggy fcgi/Apache combo?
Charlie Bowman
2006 Jul 03
1
Capistrano - disable_web and enable_web with lighty?
I was using lighty+fastcgi before, and it was working pretty well, but
I decided to move to Apache+mongrel because I really really like
Mongrel. Well now I found out about lighty+pound+mongrel [1] and I
think I''m going to give that a shot. I definitely prefer lighty to
Apache - it''s pretty ridiculous how much fewer resources it uses.
Anyway the only thing I''m going to