search for: lighty

Displaying 20 results from an estimated 289 matches for "lighty".

Did you mean: light
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
...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 restart lighty. When I run rake deploy, I get the following messages: [out :: hostname] Stopping lighttpd. [out :: hostname] Waiting for PIDS: 778 [out :: hostname] . [out :: hostname] Starting lighttpd. However, when I try to connect to the server, it won''t connect, and a ps confirms that lighty isn...
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 /home/tango/ and I configured lighty using the instructions here: http://www.zedshaw.com/projects/scgi_rails/lighttpd.html However, when I try to start lighty, I get the follo...
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 ridicul...
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, no info, just dead. I downloaded 1.4.7, installed it and everythin...
2006 Jul 08
8
Mongrel, lighty, pound, and request.remote_ip
Is anyone using the setup described at the Rails blog? http://weblog.rubyonrails.org/2006/7/3/pound-makes-lighty-and-mongrel- play-nice I''m using it in production, and the only problem I have is the same as people have described in the comments over there, namely that Rails thinks all requests come from localhost. See http://isabont.com/requestinfo for the headers. Any suggestions on what to...
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 Mar 21
1
Mongrel + Lighty + Multiple Rails Apps : How to Route ?
Hello all, I''m using Lighty-Win32 and Mongrel. I have one rails app working against http://hostname/. I want to know how to route lighty and my app to http://hostname/appname1. I have multiple apps that I would eventually want to route with http://hostname/appname2, http://hostname/appname3, etc. I am not trying to "...
2006 Feb 15
4
Lighttpd1.4.10 problem on debian
Hi, I have installed lighttpd1.4.10 on my debian server. The installation goes well and rails 1.0 do recognize lighty when I run script: ruby script\server. However, after the first request to lighty, lighty returned the right page, then shut itself down:( Did anybody had similar experience? Thanks! -Tony -- Posted via http://www.ruby-forum.com/.
2006 Mar 21
2
Lighty+Mongrel unresponsive after so many requests
I transferred a site from Lighty+SCGI to Lighty+Mongrel, and now I''m having problems with it becoming unresponsive. It works fine for about 10-15 minutes, but then attempts to access the site just stall forever. Nothing is written in any of lighty''s or mongrel''s logs. Here''s my lighty config...
2006 Apr 03
9
Problem with Windows not finding methods
I am running (testing) a noob-tube for myself as follows: Windows XP SP2 lighty ruby 1.8.x rails 1.1 scgi I have everything working fairly well, but with one minor exception: the actions that I have defined as follows are not found. class MytestController < ApplicationController def index render_text "Hello Nurse!" end def dilbert render_text &qu...
2006 Apr 15
9
Mongrel in Production ?
Hi Everyone, I was setting up Lighty+Fcgi on our server for last *couple* ( read zillion ) of hours. I had posted my problems in my previous email. But all in vain.. So, for time being, I switched to Mongrel. And the performance seemed quite good. This is the first time ever I''m using mongrel ( Awesome stuff ZedShaw..Thanks!...
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 file to absolute paths. I''m not even sure is all is working because I discovered thant when I start lighty then try to restart the server, I get an error saying that the port t...
2006 Apr 16
0
anyone got lighty working ?
Hi all I started to set up a rails stack on debian : debian sarge / XEN 3.0 / Ruby 1.8.4 / Postgresql 8.1.4 / Java 1.5 / Mongrel / Lighttpd Everything went well and worked as expected until I reached lighty. I could not get lighty working at all. I felt like the master of the disaster. I tried the debian backport for lighty 1.4.11, got the ligthy daemon running configured as proxy, but it did not answer any request at all. Any recommendations for a debian package where everything just works out of th...
2006 Feb 15
0
Lighty/SCGI: not found: /dispatch.scgi
I have a ton of these in my Lighty error log: 2006-02-15 15:55:53: (connections.c.1383) Warning: Either the error-handler returned status 404 or the error-handler itself was not found: /dispatch.scgi 2006-02-15 15:55:53: (connections.c.1385) returning the original status 404 2006-02-15 15:55:53: (connections.c.1387) If this is a...
2006 Feb 02
12
basic ''find'' question
I am struggling to understand the methodology here... I have a find.rhtml <%= start_form_tag :action => ''list2'', :first_name = client %> <%# render :partial => ''form'' %> <p><label for="client_first_name">First name</label><br/> <%= text_field ''client'', ''first_name''
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 easily. Connectivity to the FCGI boxes to the DB was demon...
2006 Mar 24
3
1.1RC and Lighttpd
...on the train this morning to write a little timetracker for myself. Amongst other things (don''t have a model called Task as it conflicts with Rake at the moment, don''t have a model called Action as it disappears in the hash when you submit a form :-), I had to use Webrick as Lighty complained about an unknown variable CWD. This looks to have been added to make the fcgi path absolute rather than relative, but I get an error because it''s not set. I can''t figure out how to do a fulltext search in Trac to see if it''s been reported. A simple Browser...
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 Feb 16
4
Lost while trying to deploy rails app on apache
...of time over two days digging through this list''s archives and through the wiki trying to get something working. Briefly, I''ve tried the following two setups: 1) Proxying my apps through apache to lighttpd instances. James Duncan Davidson''s excellent Apache2 and Rails on Lighty pages served as a reference: <http://duncandavidson.com/essay/2006/01/railsonapache> and <http://duncandavidson.com/essay/2005/12/railsonlighty> 2) Grafting my apps by symlinking /public to a location in the directory root and then building FCGI and configuring Apache. I used these two...
2006 Feb 23
5
Running apps in subdirectories using lighty/scgi
Hi, So thanks to Zed I was able to get lighty/scgi and a Rails app running. I know this might not be the best place to post this, but I guessed there may be several others with similar experiences here. So, the following step is to have several apps each in its on subdirectory. I tried the following to no avail: $HTTP["url"] =~...