similar to: Missing Content-Length header with lighttpd

Displaying 20 results from an estimated 8000 matches similar to: "Missing Content-Length header with lighttpd"

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 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 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
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,
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 Oct 17
5
lighttpd exits, don't know why
Hi, I''m new to Rails and was trying out the tutorial that they give on the apple website http://developer.apple.com/tools/rubyonrails.html I installed everything including lighttpd, and I got up to the point where I want to create my first record. When I hit the ''create'' button, lighttpd quits. If I have the server running as a foreground process I get this message
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 Jul 05
5
ok, lightTPD is installed... how do i use it.
i used the hivelogic article to install ruby on rails to my mac: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger everything works great using the script/server command, but isn''t that still using WEBrick? how do i server my apps with lightTPD? i tried following the instructions given here: http://duncandavidson.com/essay/2005/12/railsonlighty but have had no
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 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 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
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 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/.
2005 Dec 01
12
Difficult process of restarting SCGI, Lighttpd, Apache, sessions
I''ve managed to get Rails working using Apache->Lighttpd->SCGI. Restarting everything is really difficult. This appears to be the process: - stop apache - stop lighttpd - stop scgi - make sure scgi still isn''t running (it sometimes does) - if it is, kill it - delete all session files (they often cause permission errors) - start scgi - start apache - start lighttpd - cross
2006 Feb 02
1
FYI lighttpd 1.4.9 has problems running with rails out-of-the-box
In case this helps anyone I recently finished setting up a Debian server closely following Ezra''s excellent guidance @ http://brainspl.at/rails_stack.html. I used newer libraries in some cases (and mysql 5.0) and everything worked great until the end when lighttpd wouldn''t start. I finally figured out that Lighty 1.4.9 has a problem working with rails out-of-the-box. See
2006 Mar 25
3
Rails and Lighttpd, hangs?
I know this is kind of a generic question. But, when hitting my lighttpd/rails site on some of the first hits, the site hangs. I think it has something with the lighttpd configuration, possibly something I am missing with rails or ruby? Any ideas or how to track this down. fastcgi.server = ( ".fcgi" => ( "0.0.0.0" => ( "socket" =>
2005 Nov 30
1
[lighttpd] proxy.server and url.rewrite-once
i have a very simple lighttpd config that just forwards with mod_proxy some requests to different hosts lixe this: server.modules = ( "mod_proxy", "mod_rewrite" ) server.port = 80 server.pid-file = "/var/run/lighttpd.pid" server.errorlog = "/var/log/lighttpd-err.log" server.document-root = "/var/www/htdocs/"