Many features was introduced into lighttpd 1.4.x series to improve config file handling. But there’s something left undocumented, yet nice feature, for debuging.
Jan on Tour
See me (Jan) live and in colour at the MySQL UC 2006 in April 24-27 in Santa Clara, CA, USA and two month later again in Chicago, IL, USA at the RailsConf 2006
Serving Images From a Database
Kris tells you why this usually a bad idea in his article Serving Images From A Database
Flv Streaming With Lighttpd
1.4.11 got a new module for streaming Flash movie files called mod_flv_streaming. This module allows you to seek in FLV files using the high performance infrastructure of lighttpd.
Patches for 1.4.10
The wiki knows about bugs and their fixes in 1.4.10. Usually it covers small patches which fix problems discovered after the release.
But more interesting for the future is the section about patches for the current release.
- mod_deflate for compressing dynamic content
- mod_extforward to extract the Host from X-forwarded-for
- the mysqlvhost patches for mod_fastcgi
They will be check in the next ‘feature’ release. If you want to try them out now and test them, feel free to contact the authors of the patches directly.
Lighttpd 1.4.10 Released
lighttpd 1.4.10 has been release and fixes the fastcgi and cgi problems of .9.
- CGI should work again
- fastcgi should not result in a crash under high load
- load balancing in fastcgi should work as expected
- broken digest request shouldn’t crash mod_auth
New is
fastcgi.map-extensions = ( ".php3" => ".php" ) fastcgi.server = ( ".php" => ... )
Links
In the News
I grep through the referer log from time to time to see where lighty is mentioned on the net.
This week I got attracted by these links:
- Jifty and Perl6 are the topic at
pugs.blogs.com which also rushed through the planetsix.perl.org - Duncan Davidson publish a series of articles about lighttpd and rails Virtual Hosting Rails Applications with LightTPD and Deploying Rails with LightTPD
- Steve Jobs presented the MacBookPro and macrumorslive used lighttpd to report about it live. justaddwater.dk talks about it is a good idea to use lighttpd for this job.
- On www.vmunix.com was a article about past, present and future of FastCGI, SCGI and CGI
- Kevin Worthington published a new lighty on Windows without Cygwin package for lighttpd 1.4.8
- the.taoofmac.com likes the webdav support of lighttpd and also mentions ipoddisk
- hivelogic.com provides launchd support for lighty for MacOSX users
That’s it for this week.
Simplify Your Configfiles With Includes
Or should it be named ‘virtual hosting made easy ?’ Anyway. If your vhosting setup looks a bit more complext like having different options (static only, php support, pre-installed rails apps, …) but a similar setup for each you can’t use the vhosting modules and have to write everything by hand. But there is rescue thanks to includes and variables.
Lighttpd 1.4.8 and Multiple Rails-apps
lighttpd 1.4.8 was just released and next to a pile of bugfixes we added a new option to fastcgi.server to allow a simple setup of multiple rails app in one virtual host.
Optimizing Lighty for High-concurrent, Large-file Downloads
In lighttpd 1.4.6 we have added some modifications for sites which have handle some 100 files in parallel with size of more than 100Mb each.
The problem in earlier releases was that lighttpd had to wait until the disk had seeked to the right place, read a few 100 kbyte to send it out. And this for each request as this scenario was completly trashing the disk-buffering. The IO-wait went sky-high and we were completly bound to the disk-io.