<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Lighttpd</id>
	<title>Lighttpd - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=Lighttpd"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Lighttpd&amp;action=history"/>
	<updated>2026-07-16T16:34:36Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=Lighttpd&amp;diff=225455&amp;oldid=prev</id>
		<title>imported&gt;蓝哿：​维基化</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=Lighttpd&amp;diff=225455&amp;oldid=prev"/>
		<updated>2023-12-26T17:39:44Z</updated>

		<summary type="html">&lt;p&gt;维基化&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{noteTA|G1=IT|G2=FL}}&lt;br /&gt;
{{infobox software&lt;br /&gt;
| name                   = lighttpd&lt;br /&gt;
| title                  = lighttpd&lt;br /&gt;
| logo                   = Lighttpd logo.svg&lt;br /&gt;
| screenshot             =&lt;br /&gt;
| caption                =&lt;br /&gt;
| developer              = {{tsl|en|Jan Kneschke|扬·克内施克|扬·克内施克}}&lt;br /&gt;
| released               = {{Start date|2003|03}}&lt;br /&gt;
| latest_release_version = 1.4.67&lt;br /&gt;
| latest_release_date    = {{Release date and age|2022|09|17}}&lt;br /&gt;
| programming language   = [[C语言]]&lt;br /&gt;
| operating system       = [[跨平台]]&lt;br /&gt;
| language               = 英文&lt;br /&gt;
| genre                  = [[網頁伺服器]]&lt;br /&gt;
| license                = [[BSD许可证]]&lt;br /&gt;
| website                = [https://www.lighttpd.net/ www.lighttpd.net]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;lighttpd&amp;#039;&amp;#039;&amp;#039;（读作lighty）&amp;lt;ref&amp;gt;{{cite web|url=http://www.lighttpd.net/|title=lighttpd fly light|accessdate=2010-06-13|quote=all of these describe lighttpd (pron. lighty)|archive-date=2006-07-07|archive-url=https://web.archive.org/web/20060707052005/http://www.lighttpd.net/|dead-url=no}}.&amp;lt;/ref&amp;gt; 是一款以[[BSD許可證]][[开放源代码|开源]]的[[網頁伺服器]]，在确保兼容常见标准、安全性及灵活性的情况下专为需要处理速度的环境优化。此软件起初为扬·克内施克对{{tsl|en|c10k problem|c10k问题|c10k问题}}（如何同时并行处理10000条连接的问题）的[[概念验证]]，但随后受到了大众欢迎。&amp;lt;ref&amp;gt;{{Cite web| url=http://trac.lighttpd.net/trac/wiki/PoweredBylighttpd| title=Powered By lighttpd| accessdate=22 December 2008| publisher=lighttpd wiki| archive-date=2006-10-08| archive-url=https://web.archive.org/web/20061008084039/http://trac.lighttpd.net/trac/wiki/PoweredByLighttpd| dead-url=no}}&amp;lt;/ref&amp;gt;其名称是“light”（轻量）与[[httpd]]的[[混成詞]]。相較於其他的網頁伺服器，lighttpd僅需少量的内存及[[中央处理器|CPU]]資源即可達到同樣的效能。&lt;br /&gt;
&lt;br /&gt;
==前言==&lt;br /&gt;
相比其他网页服务器软件而言，lighttpd的低内存占用、&amp;lt;ref&amp;gt;{{cite web| url=http://wiki.dreamhost.com/Web_Server_Performance_Comparison| title=Web Server Performance Comparison| accessdate=15 March 2012| archive-url=https://web.archive.org/web/20160605174449/http://wiki.dreamhost.com/Web_Server_Performance_Comparison| archive-date=2016-06-05| dead-url=yes}}.&amp;lt;/ref&amp;gt;低[[中央处理器|CPU]]负载及速度优化&amp;lt;ref&amp;gt;Gabriel Kerneis and Juliusz Chroboczek. [http://www.pps.jussieu.fr/~jch/research/cpc-bench.pdf &amp;#039;&amp;#039;Are events fast?&amp;#039;&amp;#039;] {{Wayback|url=http://www.pps.jussieu.fr/~jch/research/cpc-bench.pdf |date=20110706220242 }}. PPS technical report, University of Paris 7. 2009.&amp;lt;/ref&amp;gt;使其成为负载过重或提供静态媒体服务器的合适之选。lighttpd是一款[[自由及开放源代码软件]]，以[[BSD许可证]]发布。它可原生运行在[[类Unix系统]]操作系统及[[Microsoft Windows]]上。&amp;lt;ref&amp;gt;{{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 |archive-date=2011-03-24 |archive-url=https://web.archive.org/web/20110324005357/http://en.wlmp-project.net/downloads.php?cat=lighty |dead-url=no }}.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==应用程序支持==&lt;br /&gt;
lighttpd支持向外部程序开放[[FastCGI]]、[[简单通用网关接口|SCGI]]及[[通用网关接口|CGI]]，允许以任意编程语言编写的程序与服务器通信。 [[PHP]]作为一门特别流行的语言，其性能受到了广泛关注。lighttpd的FastCGI可配置为使用[[PHP加速軟件|操作码缓存]]的方式来有效支持PHP（如[[PHP加速軟件#Alternative_PHP_Cache|Alternative PHP Cache]]）除此之外，lighttpd还获得了[[Python]]、[[Perl]]、[[Ruby]]和[[Lua]]社区的关注。lighttpd还支持[[WebDNA]]和弹性[[内存数据库]]系统。此软件是一款流行的、支持[[Catalyst]]和[[Ruby on Rails]]网页框架的网页服务器，但并不支持[[ISAPI]]。&lt;br /&gt;
&lt;br /&gt;
== 特性 ==&lt;br /&gt;
* 支持[[负载均衡]]、[[FastCGI]]、[[SCGI]]及[[代理服务器|HTTP代理服务器]]&lt;br /&gt;
* 支援&amp;lt;code&amp;gt;[[Chroot|chroot]]&amp;lt;/code&amp;gt;&lt;br /&gt;
* 网页服务器事件机制性能优化 – &amp;lt;code&amp;gt;select()&amp;lt;/code&amp;gt;、&amp;lt;code&amp;gt;poll()&amp;lt;/code&amp;gt;及&amp;lt;code&amp;gt;epoll()&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{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 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* 支持更高效的{{tsl|en|event notification|事件通知|事件通知}} &lt;br /&gt;
* 支持[[URL重寫|URL条件重写]]（mod_rewrite）&lt;br /&gt;
* 通过[[OpenSSL]]可提供支持[[服务器名称指示|SNI]]的[[傳輸層安全性協定|TLS/SSL]]&lt;br /&gt;
* 透過[[轻型目录访问协议|LDAP]]服务器認證&lt;br /&gt;
* [[RRDtool]]狀態輸出&lt;br /&gt;
* 基于规则的下载&lt;br /&gt;
* [[服务器端内嵌]]支持（不包括服务侧CGI）&amp;lt;ref&amp;gt;[http://redmine.lighttpd.net/issues/show/1101 lighttpd - Bug #1101: SSI include virtual does not run cgi] {{Wayback|url=http://redmine.lighttpd.net/issues/show/1101 |date=20111007190532 }} – lighty labs&amp;lt;/ref&amp;gt;&lt;br /&gt;
* 灵活的[[虚拟主机|虚拟主机]]&lt;br /&gt;
* 模块支持&lt;br /&gt;
* 缓存元语言（现已被mod_magnet替代）&amp;lt;ref&amp;gt;{{Cite web |url=http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMagnet |title=存档副本 |accessdate=2019-04-23 |archive-date=2012-06-29 |archive-url=https://web.archive.org/web/20120629054001/http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModMagnet |dead-url=no }}&amp;lt;/ref&amp;gt; using the [[Lua|Lua programming language]]&lt;br /&gt;
* 对[[基于Web的分布式编写和版本控制|WebDAV]]最小支持&lt;br /&gt;
* Servlet（{{tsl|en|Apache JServ Protocol|Apache JServ协议|AJP}}）支持（1.5.x版後）&lt;br /&gt;
* 使用mod_compress及新版mod_deflate（1.4.42）的[[HTTP压缩]]&lt;br /&gt;
* 软件轻量（小于1[[百萬位元組|MB]]）&amp;lt;ref&amp;gt;{{Cite web| url=http://download.lighttpd.net/lighttpd/| title=lighttpd releases| accessdate=20 June 2010| publisher=lighttpd.net| archive-date=2019-09-09| archive-url=https://web.archive.org/web/20190909122818/http://download.lighttpd.net/lighttpd/| dead-url=no}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* 仅有若干线程的单进程设计。开始每条连接时不产生新进程或新线程。&lt;br /&gt;
&lt;br /&gt;
==局限性==&lt;br /&gt;
* 低于1.4.40以下的版本不官方支持从CGI、FastCGI或代理-{}-发送大文件，&amp;lt;ref&amp;gt;{{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|archive-date =2011-04-20|archive-url =https://web.archive.org/web/20110420152911/http://redmine.lighttpd.net/issues/1283|dead-url =no}}&amp;lt;/ref&amp;gt;除非使用X-Sendfile。此问题已于lighttpd 1.4.40版中解决。&amp;lt;ref&amp;gt;{{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|archive-date =2016-07-23|archive-url =https://web.archive.org/web/20160723163206/http://redmine.lighttpd.net/issues/933|dead-url =no}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
* 不支持SPDY或[[HTTP/2]]。此問題已於lighttpd 1.4.56版中解決。&lt;br /&gt;
&lt;br /&gt;
==用法==&lt;br /&gt;
lighttpd被多个业务量极大的网站使用，如[[Bloglines]]和[[Xkcd|xkcd]]。&amp;lt;ref&amp;gt;{{cite web|url = http://www.webtechster.com/trends/web-server/lighttpd.html|title = lighttpd Web Server Usage|publisher = WebTechster|accessdate = 2014-03-26|archive-date = 2019-04-23|archive-url = https://web.archive.org/web/20190423133533/http://www.webtechster.com/trends/web-server/lighttpd.html|dead-url = no}}&amp;lt;/ref&amp;gt;在过去，[[Meebo]]和[[YouTube]]也曾使用lighttpd。&amp;lt;ref&amp;gt;{{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 = 2014-03-31|dead-url = yes}}&amp;lt;/ref&amp;gt; [[维基媒体基金会]]也在服务器上运行lighttpd。&amp;lt;ref&amp;gt;{{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|archive-date = 2019-04-23|archive-url = https://web.archive.org/web/20190423133554/https://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039194.html|dead-url = no}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{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|archive-date = 2019-04-23|archive-url = https://web.archive.org/web/20190423133547/https://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039197.html|dead-url = no}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{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|archive-date = 2019-04-23|archive-url = https://web.archive.org/web/20190423133601/https://lists.wikimedia.org/pipermail/wikitech-l/2008-August/039198.html|dead-url = no}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=Poweredbylighttpd&amp;gt;{{cite web&lt;br /&gt;
| url=http://www.lighttpd.net/2007/4/4/powered-by-lighttpd&lt;br /&gt;
| title=Powered by lighttpd&lt;br /&gt;
| publisher=The official site&lt;br /&gt;
| date=2007-04-04&lt;br /&gt;
| 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.&lt;br /&gt;
| accessdate=2008-12-22&lt;br /&gt;
| archive-date=2018-06-27&lt;br /&gt;
| archive-url=https://web.archive.org/web/20180627170221/https://www.lighttpd.net/2007/4/4/powered-by-lighttpd/&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==操作系统支持==&lt;br /&gt;
lighttpd至少为下列平台定期构建和发布:&lt;br /&gt;
&lt;br /&gt;
* Linux（在Fedora Core、SuSE、OpenSUSE、Debian、Ubuntu、Gentoo、PLD-Linux、OpenWRT等發行版中可直接使用[[軟體套件|套件]]包）&lt;br /&gt;
* 原始碼安裝（[[CentOS]]等）&lt;br /&gt;
* BSD（[[FreeBSD]]、[[NetBSD]]、[[OpenBSD]]）&lt;br /&gt;
* [[Mac OS X]]&lt;br /&gt;
* IRIX&lt;br /&gt;
* [[Windows]]（[[Cygwin]]、[[MinGW]]等）&lt;br /&gt;
* [[Solaris]]&lt;br /&gt;
* AIX&lt;br /&gt;
&lt;br /&gt;
==参考文献==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==另请参阅==&lt;br /&gt;
{{Portal|自由軟體}}&lt;br /&gt;
* [[網頁伺服器比較]]&lt;br /&gt;
* {{tsl|en|Internet Cache Protocol|互联网缓存协议|互联网缓存协议}}&lt;br /&gt;
* 讨论客户端代理的[[代理服务器]]&lt;br /&gt;
* 讨论源站代理的[[反向代理]]&lt;br /&gt;
* [[Traffic Server]]&lt;br /&gt;
* 讨论基于主机的HTTP加速的{{tsl|en|Web accelerator|网页加速器|网页加速器}}&lt;br /&gt;
&lt;br /&gt;
==延伸阅读==&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
* {{cite book&lt;br /&gt;
 |first1       = Andre&lt;br /&gt;
 |last1        = Bogus&lt;br /&gt;
 |date         = October 29, 2008&lt;br /&gt;
 |title        = lighttpd&lt;br /&gt;
 |publisher    = {{tsl|en|Packt Publishing||Packt Publishing}}&lt;br /&gt;
 |edition      = 1st&lt;br /&gt;
 |page         = 236&lt;br /&gt;
 |isbn         = 978-1847192103&lt;br /&gt;
 |url          = https://www.packtpub.com/lighttpd/book&lt;br /&gt;
 |access-date  = 2019-04-23&lt;br /&gt;
 |archive-date = 2014-07-15&lt;br /&gt;
 |archive-url  = https://web.archive.org/web/20140715001902/https://www.packtpub.com/lighttpd/book&lt;br /&gt;
 |dead-url     = no&lt;br /&gt;
}}&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
== 外部連結 ==&lt;br /&gt;
* {{Official website}}&lt;br /&gt;
* [https://web.archive.org/web/20051207024505/http://forum.lighttpd.net/ lighttpd forum]，lighttpd的論壇。&lt;br /&gt;
* [http://blog.lighttpd.net/ lighty&amp;#039;s life] {{Wayback|url=http://blog.lighttpd.net/ |date=20200728072922 }}，lighttpd的[[網誌]]。&lt;br /&gt;
* [http://www.oschina.net/p/lighttpd] {{Wayback|url=http://www.oschina.net/p/lighttpd |date=20201126122238 }}, Open Source China 的介绍&lt;br /&gt;
&lt;br /&gt;
{{Web服务器软件}}&lt;br /&gt;
&lt;br /&gt;
[[Category:用C編程的自由軟體]]&lt;br /&gt;
[[Category:自由网络服务器软件]]&lt;br /&gt;
[[Category:自由跨平台軟體]]&lt;br /&gt;
[[Category:Unix网络相关软件]]&lt;br /&gt;
[[Category:Linux网络服务器软件]]&lt;br /&gt;
[[Category:Windows互联网软件]]&lt;/div&gt;</summary>
		<author><name>imported&gt;蓝哿</name></author>
	</entry>
</feed>