Displaying 20 results from an estimated 3000 matches similar to: "anyone got lighty working ?"
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
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
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:
$HTTP["host"] =~ "www.xyz.com" {
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 rails app: check
your production.log
And I guess it''s
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 "productize", these are separate distinct apps that
2006 Mar 29
1
Problems with lighty
I''ve been trying to get lighty configured to work with Rails and I''m
having quite a time of it.
I have all of the following installed on a FC4 system:
ruby-1.8.4
gems-0.8.11
rails-1.0
fcgi-2.4.0
ruby-fcgi-0.8.6
lighttpd-1.4.10
Before I tried setting up multiple apps, I just decided to try for a
single app setup. I have the following configuration:
### begin config ###
2006 Mar 25
1
routes mapping, subdomains and page-caching
Each of its own is no problem, but the combination of them is confusing my
head !
I want to to map in routes.rb an url for an article which is identified by
its permalink. The permalink is unique per subdomain.
Has anybody done that and can post an example ?
Should I do subdomain filtering in routes.rb so I can get page-cachabled
URLs (and URL rewriting in Lighttpd form subdomain-urls to
2005 Dec 28
3
problems with lighty on linux
I''m trying to get our app running on Lighty... I followed Ezra''s
instructions: http://brainspl.at/pages/rails_stack... Currently the app
runs fine with webrick, but with lighty I get 404 errors on everything.
I found if I don''t edit the lighttpd.conf file to use absolute paths, it
works fine. But this is not good for production because I need to run it
with the -d
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! ). I''m wondering if there are many people
around
2006 Mar 16
3
Lighty+Mongrel: Limiting persistent db connections?
I''m not sure if it''s due to setting up multiple mongrel servers and
proxying them with lighty, but something is keeping postgres connections
around. I only have a couple Rails apps running on a new server, with
not a whole lot of traffic, yet today I actually maxed out my connection
limit of 100 for postgres. How do I turn off persistent connections in
Mongrel?
Joe
--
2006 Mar 23
0
lighty + ssl??
> ./configure --with-openssl && sudo make install
enabled:
...
network-openssl
...
disabled:
...
> which openssl
/usr/bin/openssl
I get the following message from my lighty install:
> SSL: ssl requested but openssl support is not compiled in
What am I doing wrong?
-Kyle
2006 Mar 13
2
how do I render a partial view into a string from inside a view ?
I want to pass the partial to a Javascript function ( which uses the data
for for creating an iframe)
render_to_string is not accessible form a view
thanks in advance
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/8165bcec/attachment.html
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" =>
(
2006 Jan 08
8
RaislsEdge - where to get latest javascripts ?
To play with RJS I just made a "rake freeze edge". But this copies only the
libs into vendor/rails and any attempt of "rake update_javascripts" fails.
But all the he required javascripts are there, at:
BASEPATH/vendor/rails/actionpack/lib/action_view/helpers/javascripts/
Except of prototype, they seem to have no version number, so I am asking
whether I should take those
2005 Nov 11
2
InPlaceEditor trouble
Hi all
this is my first post to this list. Im am trying to use the InPlaceEditor,
but I only manage to make it work in very simple case as in teh demo on the
wiki. In my case I have a list of records ("books") with different fields
and each field has an InPlaceEditor. My problem is how to pass teh id of the
record to the update action at the controller, I tried to define the
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
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
2005 Nov 20
3
rounded corners in rails apps ?
Hi all
I like very much rounded corners and often used thee well known nifty
Javascript approach for that, Recently I discovered Rico (
http://openrico.org), which does the same and is much simpler to use (don''t
require additional css files) and is based on prototype.js. This is all very
nice, but there is currently one problem, the latest Rico library seems to
require prototype 1.3.1,
2006 Jan 31
2
Liquid templates and forms
I have started to experiment with Liquid templates and all goes fine as long
as I just display my stuff.
But I want to get user input (using forms), and I couldn''t figure out so far
whether and how liquid facilitates the use of forms, something like the form
helper tags in .rhtml.
Anybody knows about that ?
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
2006 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ?
--
Roberto Saccon - http://rsaccon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html