search for: lightty

Displaying 20 results from an estimated 31 matches for "lightty".

Did you mean: lightly
2005 Dec 22
2
Lightty idle-timeout - does it work?
...ctually I am assuming that it is after a period of inactivity]. Googling around for solutions, it seems that it might be an issue with timeouts on the MySQL session. A suggestion I found was to a) increase timeout on MySQL [don''t want to do that]; b) add idle-timeout parameter to Lightty. So I have in my lighttpd.conf: fastcgi.server = ( ".fcgi" => ( "localhost" => ( "min-procs" => 1, "max-procs" => 2, "idle-timeout" => 60, <==== added this line &quo...
2006 Jan 12
1
Lightty on windows?
hi all can anybody tell me how to get lighttpd on windows? thanks rohit mehra --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060112/2410542a/attachment.html
2006 Feb 15
4
Lightty 1.4.10 socket file problem
When I run lighttpd 1.4.10 [on Mac OS X] the socket file is called ''fcgi.socket-'', versus ''fcgi.socket-0'' that I get under 1.4.8. Further, when the FCGI daemon quits, the file does not get deleted, and I cannot restart my Rails app until I manually remove it. Can anyone confirm before I raise a bug at lighttpd.net?
2006 Jul 29
6
why is webrick running in development mode?
Hi, I changed my environmnet.rb to say PRODUCTION mode, however when I start up a server "ruby scripts/server" a) it runs in development mode (via the logs) - any ideas why? b) why does webbrick run - I thought by default now it was supposed to be lightty Tks -- Posted via http://www.ruby-forum.com/.
2006 Oct 31
3
works with webrick,lighty, not mongrel
...ngs work fine, but a I get a few inexplicable undefined method errors, for example: undefined method `send_qbxml'' for #<Sync:0x2aaaafa7aa78> The method is definitley there, and can be accessed from console. Further, I tried running with webrick, and it worked as expected. I tried lightty and it worked. I am hoping to both get this working, and understand why such an error would occur. Does anyone have any suggestions? Thanks a lot, Michael Fairchild -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attac...
2006 Mar 12
3
Apache, fastcgi, ruby-on-rails etc.
Hi all, I've read a bit about fastcgi, and wondered if it might be an interesting solution for e.g. running php in a user-switched environment or running ruby-on-rails etc. But I wonder why nobody (searched on Google) seems to use CentOS with mod_fastcgi for Apache 2.x. And I also wonder why people actually using Apache 2.x and ruby-on-rails with CentOS did run a lighthttpd-fastcgi
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on Textdrive to no avail. Right now I''m getting a 500 error when I go to the site, and it spits this out (from lightty after i restart it and make a request to the app): (eval):13:in `initialize'': undefined method `to_hash'' for #<FCGI::Stream:0x83a35d8> (NoMethodError) from (eval):44:in `run'' from /users/home/me/web/app/app.rb:227 from /users/home/me/web/ap...
2006 Oct 10
7
Problems with RJS w/ Lighttpd & Ubuntu
I have my code working on my local machine no problem, but when I upload to the server the RJS effects I have aren''t working. The server is running Ubuntu Dapper w/ lighttpd while on my local machine I''m using webrick. For kicks I shut down lightty and booted my app on the server with webrick and it works fine. So it''s definitely a lightty issue. Anyone else seen it and/or know how to resolve? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you ar...
2008 Mar 25
1
Moving to ROR 2.0.2
Looking for any gotchas: Currently running ROR 1.2.3 want to move to 2.0.2. I see the recommendation to move to 1.2.6 fix the deprecations and then to 2.0.2, which I plan to do. I am currently running lightty with SCGI (zed shaw''s version 1.7) on both win and UNIX platforms without issue. I have looked at the new features and can iron all that out: - pagination as plug - adapters as plugs depending - etc Are there any big show stoppers for the configuration I describe, beyond the gem changes...
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
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
2009 Feb 18
4
expire_fragment with memcached
Hello all, We know that memcached or memcached-client doesn''t support regex... But It seems it doesn''t support expire_fragment either :/ I''m trying to use expire_fragment with memcached as following : expire_fragment(:controller => ''home'', :action => :list_posts) But apparently it''s not supported by memcached : RuntimeError (Not
2006 Feb 27
8
Newbie question - Automatically update _form.rhtml?
Hi all, I''ve got an odd issue. I''m new to Ruby/Rails and have a bit of a silly question. I''m following along with the nice little tutorial here, to get an idea of the system: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3 However, I''m running into an issue where the author adds a new field in his database, refreshes the browser and shows
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of mongrel. I also need ssl but only for one of my sites. I understand that Mongrel does not play with SSL so I am forced to use Lighttpd. I think that lighttpd only handles ssl or non-ssl on any given instance. Is there a way for me to accomplish my goal of one lighttpd with multiple mongrels and the occasional ssl connection? --
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 May 30
0
Problems with HTTP POST
...;'ve had thousands of users. Clearly something is wrong with either the user agent or on the server before the rails app. Like I said Textdrive looked into it and doesn''t see anything wrong on the server which has a setup to route nearly all traffic via another SSL machine to my lightty instance. The site works fine for 99.99% of our users and it''s now just these two users that have experienced this problem. Is it possible for a user agent to submit a form without submitting the form fields? I wouldn''t think so. If anyone has experienced a problem like t...
2006 Apr 03
1
Reaper Capistrano and FCGI user.group
...hing that discusses the necessary permissions needed to do a restart of the FCGI processes. >From what I can see I have two options, run lighttpd as my normal www.wwwuser/group which does not have a shell account and give sudo rights to the user Capistrano logs in to the app server as. Or give lightty a shell account so that Capistrano can pull down code changes and restart the FCGI processes without using sudo. Am I overlooking any other option to doing this? And I obviously will be going the route of using sudo with Capistrano in light of giving a web server a shell account is just asking for...
2011 Feb 15
0
32 bit ruby versus 64 bit gem ELF issues
I am running into what I thought should be a simple solution...however not the case yet. I am running on Suse 64 bit: Linux 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux My version of ruby is 32 bit version 1.8.7. I normally run a Lightty front end with two instances of mongrel behind it. When I go to run the gem install for mongrel 1.1.5 it builds fine, however, it builds as a 64 bit lib for http11.so. This causes ELF64 issues when I attempt to run the rails (2.3.5) app. Is there a way to have a gem compile as 32 bit when doing th...
2006 Dec 14
3
reaper spawner
Hi, Anyone know where i can find out more info on Reaper/Spawner. Currently, every time i add a new account on my production machine, i have to restart the whole server. After about 150 accounts, this puts a real strain on the server (it takes 3 full minutes before i can access any site on the server). I think reaper/spawner is my answer, but i am havving trouble figuring out how to use it.