请输入您要查询的百科知识:

 

词条 Lighttpd
释义

  1. Premise

  2. Application support

  3. Features

  4. Limitations

  5. Usage

  6. References

  7. Further reading

  8. External links

{{lowercase|title=lighttpd}}{{Infobox software
| name = lighttpd
| title = lighttpd
| logo = Lighttpd logo.svg
| screenshot =
| screenshot size =
| caption =
| collapsible =
| author = Jan Kneschke
| released = {{Start date and age|2003|03}}
| programming language = C
| language = English
| genre = Web server
| license = 3-clause BSD
}}lighttpd (pronounced "lighty")[1] is an open-source web server optimized for speed-critical environments while remaining standards-compliant, secure and flexible.{{Citation needed|date=April 2010}} It was originally written by Jan Kneschke as a proof-of-concept of the c10k problem – how to handle 10,000 connections in parallel on one server,[2]

but has gained worldwide popularity.[3] Its name is a portmanteau of "light" and "httpd".

Premise

The low memory footprint (compared to other web servers),[4] small CPU load and speed optimizations[5] make lighttpd suitable for servers that are suffering load problems, or for serving static media separately from dynamic content. lighttpd is free and open-source software and is distributed under the BSD license. It runs natively on Unix-like operating systems, as well as Microsoft Windows.[6]

Application support

lighttpd supports the FastCGI, SCGI and CGI interfaces to external programs, allowing web applications written in any programming language to be used with the 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. Lighttpd also supports WebDNA, the resilient in-memory database system designed to build database-driven websites. It is a popular web server for the Catalyst and Ruby on Rails web frameworks. Lighttpd does not support ISAPI.

Features

  • Load balancing FastCGI, SCGI and HTTP proxy support
  • chroot support
  • Web server event mechanism performance – select(), poll(), and epoll()[7]
  • Support for more efficient event notification schemes like kqueue and epoll
  • Conditional URL rewriting (mod_rewrite)
  • TLS/SSL with SNI 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 (but not server-side CGI)[8]
  • Flexible virtual hosting
  • Modules support
  • Cache Meta Language (currently being replaced by mod_magnet)[9] 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.4.42)
  • Light-weight (less than 1 MB)[10]
  • Single-process design with only several threads. No processes or threads started per connection.

Limitations

  • Versions below 1.4.40 do not officially support sending large files from CGI, FastCGI, or proxies[11] unless X-Sendfile is used. This limitation has been removed in lighttpd 1.4.40.[12]
  • No SPDY or HTTP/2 support

Usage

Lighttpd is used by a number of high-traffic websites, among them are Bloglines and xkcd.[13] It was used in the past by Meebo and YouTube.[14]{{better ref needed|date=July 2015}} The Wikimedia Foundation also runs Lighttpd servers.[15][16][17][18]

==See also==

{{Portal|Free and open-source software}}
  • Comparison of web server software
  • Internet Cache Protocol
  • Proxy server which discusses client-side proxies
  • Reverse proxy which discusses origin-side proxies
  • Traffic Server
  • Web accelerator which discusses host-based HTTP acceleration

References

1. ^{{cite web|url=http://www.lighttpd.net/|title=lighttpd fly light|accessdate=2010-06-13|quote=all of these describe lighttpd (pron. lighty)}}.
2. ^{{Cite web| url=http://www.lighttpd.net/story| title=lighttpd: Story| accessdate=22 December 2008| publisher=lighttpd.net}}
3. ^{{Cite web| url=http://trac.lighttpd.net/trac/wiki/PoweredByLighttpd| title=Powered By lighttpd| accessdate=22 December 2008| publisher=Lighttpd wiki}}
4. ^{{cite web| url=http://wiki.dreamhost.com/Web_Server_Performance_Comparison| title=Web Server Performance Comparison| accessdate=15 March 2012}}.
5. ^Gabriel Kerneis and Juliusz Chroboczek. Are events fast?. PPS technical report, University of Paris 7. 2009.
6. ^{{cite web |url=http://en.wlmp-project.net/downloads.php?cat=lighty |title=Downloads @ WLMP Project |accessdate=2011-03-27 |quote=LightTPD webserver for Windows Systems}}.
7. ^{{cite web |url= |title= Comparing and Evaluating epoll, select, and poll Event Mechanisms |first1= Louay |last1= Gammo |first2= Tim |last2= Brecht |first3= Amol |last3= Shukla |first4= David |last4= Pariag |publisher= University of Waterloo |work= Linux Symposium |date= 2004 |volume= 1 |page= 215 }}
8. ^Lighttpd - Bug #1101: SSI include virtual does not run cgi – lighty labs
9. ^http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMagnet
10. ^{{Cite web| url=http://download.lighttpd.net/lighttpd/| title=lighttpd releases| accessdate=20 June 2010| publisher=lighttpd.net}}
11. ^{{cite web|url =http://redmine.lighttpd.net/issues/1283|title = Memory usage increases when proxy+ssl+large file|publisher=lighttpd bug tracker|accessdate= 2011-04-11}}
12. ^{{cite web|url =https://redmine.lighttpd.net/issues/933|title = lighty should buffer responses (after it grows above certain size) on disk|publisher=lighttpd bug tracker|accessdate= 2016-07-16}}
13. ^{{cite web|url = http://www.webtechster.com/trends/web-server/lighttpd.html|title = Lighttpd Web Server Usage| publisher = WebTechster | accessdate = 2014-03-26}}
14. ^{{cite web|url = http://www.serverwatch.com/stypes/servers/article.php/17191_3678346|title = Fly Light With Lighttpd Web Server| publisher = ServerWatch | accessdate = 2008-02-12|archiveurl=https://web.archive.org/web/20140331045948/http://www.serverwatch.com/stypes/servers/article.php/17191_3678346|archivedate=31 March 2014}}
15. ^{{cite web|url = http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039194.html|title = Apache mod_php in wikipedia|publisher = Wikimedia wikitech-l mailing list| date = 2008-08-26| accessdate= 2008-08-27 |author=Brion Vibber}}
16. ^{{cite web|url = http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039197.html|title = Apache mod_php in wikipedia|publisher = Wikimedia wikitech-l mailing list| date = 2008-08-27| accessdate= 2008-08-27 |author=Tim Starling}}
17. ^{{cite web|url = http://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039198.html|title = Apache mod_php in wikipedia|publisher = Wikimedia wikitech-l mailing list| date = 2008-08-27| accessdate= 2008-08-27 |author=Domas Mitzuas}}
18. ^{{cite web| url=http://www.lighttpd.net/2007/4/4/powered-by-lighttpd| title=Powered by Lighttpd| publisher=The official site| date=2007-04-04| quote=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 the complex work to another server.| accessdate=2008-12-22}}

Further reading

{{refbegin}}
  • {{cite book

| first1 = Andre
| last1 = Bogus
| date = October 29, 2008
| title = Lighttpd
| publisher = Packt Publishing
| edition = 1st
| page = 236
| isbn = 978-1847192103
| url = https://www.packtpub.com/lighttpd/book
}}{{refend}}

External links

  • {{Official website}}
{{Web server software}}

6 : Cross-platform free software|Free software programmed in C|Free web server software|Unix network-related software|Web server software for Linux|Windows Internet software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/20 12:36:25