Displaying 20 results from an estimated 1000 matches similar to: "lighttpd exits, don't know why"
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 24
3
1.1RC and Lighttpd
I started what I thought was going to be a 30 minute project 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
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
2006 Mar 23
2
lighttpd rails
I''m running lighttpd + fastcgi + rails
Say that the lighttpd root directory is the rails application /public
directory.
I''m just curious.
If theres a file in the document root with the same name as a controller,
does the file get served first?
How does that work?  Does lighttpd check the root directory first to see if
the file exists-  If not, it calls dispatch.fcgi?  I want to
2006 Apr 14
3
Lighttpd config...
Hi!
Can somebody explain how to confiure Lighty??
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
2006 Apr 26
8
script/server lighttpd on Windows
Has anyone been able to get script/server to successfully use lighttpd 
on a Windows box?  When I try to start the server I get:
PROBLEM: Lighttpd is not available on your system (or not in your path)
So then I add "C:\lighttpd\sbin" to the path for the console session, 
and it still fails with the same error.
If anyone has some success with this I sure would like to know.  Webrick 
2006 Jan 26
2
Run fastcgi in Apache 1.3, or proxy through lighttpd?
I''m working with a guy who has Apache 1.3 installed on his server, and
it''s not an option to simply use lighttpd for a Rails application I''m
helping him with.  I''ve seen that Apache 2 apparently is crappy when
it comes to fastcgi, but 1.3 isn''t so bad.  I can then either just run
my app straight in Apache, or I could proxy it through to lighttpd. 
Which
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 Jun 07
9
lighttpd/fastcgi - where does stdout go?
i''m using lighty and fastcgi in my rails production environment.
standard output appears to get swallowed up somewhere... it''s clearly
not coming out of the development log.  don''t know where to look for
it.
is this a byproduct of running in production mode?  is there a way to
turn this off?
thanks,
paul
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 Jan 24
17
Updated lighttpd to 1.4.9 - error running dispatch.fcgi
Hi all,
I just updated lighttpd from 1.4.8 to 1.4.9 and it now refuses to  
start with the following error:
2006-01-24 23:12:24: (mod_fastcgi.c.989) execve failed for: public/ 
dispatch.fcgi No such file or directory
2006-01-24 23:12:24: (mod_fastcgi.c.1015) the fastcgi-backend public/ 
dispatch.fcgi failed to start:
2006-01-24 23:12:24: (mod_fastcgi.c.1019) child exited with status 2  
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 Jun 26
4
Missing Content-Length header with lighttpd
We have our rails application running using lighttpd and everything 
seems fine with Firefox, but when the client is Explorer some media 
doesn''t get transferred from the server correctly.  With Webrick, 
Content-Length is set when a request is made for an mp3 file.  Using 
Firefox with lighttpd, Transfer-Encoding is set to chunked, so the 
Content-Length field isn''t required. 
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 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys,
I''m here again with a problem. I have a rails app called brewed. It''s 
located /home/user/brewed. My lighttpd.conf is located at 
/home/user/lighty. When I execute lighty on port 80 with: 
/usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems 
to work fine.
If I type www.mysite.com/main/index on my browser, the page comes out 
well. I have my files
2007 Nov 23
4
help! problem with mongrel, request.remote_ip and lighttpd
I have an existing rails application on lighttpd and I am trrying to upgrade 
to mongrel for the enhanced scalability it offers.
I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5
Everything is working great except request.remote_ip returns 127.0.0.1 or 
192.168.0.102 (the internal network address of the server running lighty). 
I''ve seen some older posts about
2006 Jan 10
3
Working with R in a multi-processor machine.
Hi everyone!!
This is my first message to the list, so I hope not to disturb anyone if the
subject of my message has been already treated.
The question is that I have a tool, a GUI made with Java, connected to R 
using Rserve, and I'd like to get R and Rserve in a multi-processor machine.
Now, when I'm going to start the migration I wonder whether R is prepared,
'itself' to
2005 Nov 22
4
multiple rails apps on one lighttpd
Good evening (or afternoon or whatever it is where you are),
Before I start setting it all up, I have a question about lighttpd and 
multiple rails apps. From what I have read, it is at the minute only 
possible to do multiple rails apps using subdomains:
typo.mysite.com
hieraki.mysite.com
rforum.mysite.com
etc, etc
and not currently possible to do this:
mysite.com/typo
mysite.com/rforums
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
2006 Apr 28
1
Apache proxy to lighttpd leads to Rails routing error
Hello,
I have an issue I am having trouble figuring out.  I have a Rails app 
running through lighttpd which is accessed through an Apache proxy.
My apache config:
<location /rails/>
        ProxyPass http://localhost:81/
        ProxyPassReverse http://localhost:81/
</location>
RewriteEngine On
RewriteRule ^/rails/(.*) http://localhost:81/$1 [P]
So when apache sees /rails/ it