| This article is written like an advertisement. Please help rewrite this article from a neutral point of view. For blatant advertising that would require a fundamental rewrite to become encyclopedic, use {{db-spam}} to mark for speedy deletion. (July 2009) |
| Developer(s) | Jan Kneschke |
|---|---|
| Initial release | March 2003 |
| Stable release | 1.4.24 [+/−] |
| Preview release | 1.5.0 [+/−] |
| Written in | C |
| Operating system | Cross-platform |
| Available in | English |
| Type | Web server |
| License | BSD |
| Website | Official site |
lighttpd (usually pronounced "Light-TPD", abbreviated "Lighty") is a web server designed to be secure, fast, standards-compliant, and flexible while being optimized for speed-critical environments. It was originally written by the German programmer Jan Kneschke (who also works for MySQL) as a proof-of-concept of the c10k problem (how to handle 10000 connections in parallel on one server),[1] but now has substantial worldwide popularity.[2]
Contents |
Premise
Its low memory footprint (compared to other web servers), light CPU load and speed goals make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content. lighttpd is free software/open source, and is distributed under the BSD license. lighttpd runs on Linux and other Unix-like operating systems and Microsoft Windows (under Cygwin). On Windows it can be controlled with the program Lighty Tray which integrates into the system tray.[3]
Features
- Load-balancing FastCGI, SCGI and HTTP proxy support
chrootsupportselect()-/poll()-/epoll()based web server- Support for more efficient event notification schemes like
kqueueandepoll - Conditional rewrites (mod_rewrite)
- SSL and TLS support, via OpenSSL.
- Authentication against an LDAP server
- RRDtool statistics
- Rule-based downloading with possibility of a script handling only authentication
- Server Side Includes support (broken [1])
- Flexible virtual hosting
- Modules support
- Cache Meta Language (currently being replaced by mod_magnet) using the Lua programming language
- Minimal WebDAV support
- Servlet (AJP) support (in versions 1.5.x and up)
- HTTP compression using mod_compress and the newer mod_deflate (1.5.x)
- Light-weight (less than 1 MB)
- Single-process design with only several threads. No processes or threads started per connection.
Application support
lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, permitting web applications written in any programming language to be used with this server. As a particularly popular language, PHP performance has received special attention. Lighttpd's FastCGI can be configured to support PHP with opcode caches (like APC) properly and efficiently. Additionally, it has received attention from its popularity within the Python, Perl, Ruby and Lua communities. It is a popular web server for the Catalyst and Ruby on Rails web frameworks. Lighttpd does not support ISAPI.
Usage
Lighttpd is used by some of the biggest websites, including sites such as meebo. Wikimedia runs Lighttpd servers [4][5][6][7] as does SourceForge.[7] Three of the most famous torrent listing websites, The Pirate Bay, Mininova and isoHunt, which have more than 1,000 hits per second, also use Lighttpd.[8] Lighttpd currently holds fifth place on the Netcraft "Web Server Survey" (November 2008).[9] Lighttpd has not placed in the June 2009 survey except under the "Market Share for Top Servers Across the Million Busiest Sites" survey where it places sixth. [10]
References
- ^ "lighttpd: Story". lighttpd.net. http://www.lighttpd.net/story. Retrieved 22 December 2008.
- ^ "Powered By lighttpd". Lighttpd wiki. http://trac.lighttpd.net/trac/wiki/PoweredByLighttpd. Retrieved 22 December 2008.
- ^ Lighty Tray for lighttpd (Windows version)
- ^ Brion Vibber (2008-08-26). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039208.html. Retrieved 2008-08-27.
- ^ Tim Starling (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039211.html. Retrieved 2008-08-27.
- ^ Domas Mitzuas (2008-08-27). "Apache mod_php in wikipedia". Wikimedia wikitech-l mailing list. http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039212.html. Retrieved 2008-08-27.
- ^ a b "Powered by Lighttpd". The official site. 2007-04-04. http://www.lighttpd.net/2007/4/4/powered-by-lighttpd. Retrieved 2008-12-22. "lighttpd is used by many well-known sites. The typical scenario is using lighttpd as off-load server to push out static content and leave to complex work to another server."
- ^ "Fly Light With Lighttpd Web Server". ServerWatch. http://www.serverwatch.com/stypes/servers/article.php/17191_3678346. Retrieved 2008-02-12.
- ^ "Web Server Surveys". Netcraft. http://news.netcraft.com/archives/2008/11/19/november_2008_web_server_survey.html. Retrieved 2009-06-29.
- ^ "Web Server Survey June 2009". Netcraft. http://news.netcraft.com/archives/2009/06/17/june_2009_web_server_survey.html. Retrieved 2009-06-29.
See also
External links
- Project Web site
- lighttpd at Freshmeat
- #lighttpd on freenode
- Lighty2Go Portable LiMP Project
- Complete guide to setup your server with Lighttpd, PHP5, MySQL, e-mail, firewall etc.
- Older Lighttpd for Windows builds
- WLMP Project - actual lighttpd builds for Windows
| This Web software related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




