Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Apache HTTP Server

From Wikipedia, the free encyclopedia
Open-source web server software
This articlemay be too technical for most readers to understand. Pleasehelp improve it tomake it understandable to non-experts, without removing the technical details.(September 2010) (Learn how and when to remove this message)
Apache HTTP Server
Original authorRobert McCool
DeveloperApache Software Foundation
Initial release1995; 30 years ago (1995)[1]
Stable release
2.4.65 Edit this on Wikidata / July 23, 2025; 2 months ago (2025-07-23)
Repository
Written inC[2]
Operating systemUnix-like,Microsoft Windows,[3]OpenVMS
TypeWeb server
LicenseApache-2.0
Websitehttpd.apache.orgEdit this at Wikidata

TheApache HTTP Server is afree and open-source cross-platformweb server, released under the terms ofApache License 2.0. It is developed and maintained by a community of developers under the auspices of theApache Software Foundation.

The vast majority of Apache HTTP Server instances run on aLinux distribution,[4] but current versions also run onMicrosoft Windows,[5]OpenVMS,[6] and a wide variety ofUnix-like systems. Past versions also ran onNetWare,OS/2 and other operating systems,[7] including ports to mainframes.[8]

Originally based on theNCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled.[9] Apache played a key role in the initial growth of theWorld Wide Web,[10] quickly overtaking NCSA HTTPd as the dominantHTTP server. In 2009, it became the first web server software to serve more than 100 millionwebsites.[11]

As of March 2025[update],Netcraft estimated that Apache served 17.83% of the million busiest websites, with the other top four beingCloudflare at 22.99%,Nginx at 20.11%, andMicrosoftInternet Information Services at 4.16%.[12] According to W3Techs' review of all web sites, in April 2025 Apache was ranked second at 26.4% and Nginx first at 33.8%, with Cloudflare Server third at 23.5%.[13]

Name

[edit]

According toThe Apache Software Foundation, its name was chosen "from respect for the variousNative American nations collectively referred to asApache, well-known for their superior skills in warfare strategy and their inexhaustible endurance".[14] This was in a context in which it seemed that the open internet—based on free exchange of open source code—appeared to be soon subjected to a kind of conquer by proprietary software vendorMicrosoft; Apache co-creatorBrian Behlendorf—originator of the name—saw his effort somewhat parallel that ofGeronimo, Chief of the last of the free Apache peoples.[15][16] But it conceded that the name "also makes a cutepun on 'a patchyweb server'—a server made from a series ofpatches".

Other sources also claim that that the name originated as a pun on 'patchy', including the project's official documentation in 1995, which stated: "Apache is a cute name which stuck. It was based on some existing code and a series of software patches, a pun on 'A PAtCHy' server."[17][18] This documentation did not mention Native American tribes in the context of the name.

But in an April 2000 interview, Behlendorf asserted that the origins of Apache were not a pun, stating:[19]

The name literally came out of the blue. I wish I could say that it was something fantastic, but it was out of the blue. I put it on a page and then a few months later when this project started, I pointed people to this page and said: "Hey, what do you think of that idea?" ... Someone said they liked the name and that it was a really good pun. And I was like, "A pun? What do you mean?" He said, "Well, we're building aserver out of a bunch of software patches, right? So it's a patchy Web server." I went, "Oh, all right." ... When I thought of the name, no. It just sort of connoted: "Take no prisoners. Be kind of aggressive and kick some ass."

In January 2023, the US-based non-profit Natives in Tech accused the Apache Software Foundation ofcultural appropriation and urged them to change the foundation's name, and consequently also the names of the software projects it hosts.[20][21]

When Apache is running underUnix, its process name ishttpd, which is short for "HTTPdaemon".[22]

Feature overview

[edit]

Apache supports a variety of features, many implemented ascompiledmodules which extend the core functionality. These can range fromauthentication schemes to supportingserver-side programming languages such asPerl,Python,Tcl andPHP. Popular authentication modules include mod_access, mod_auth, mod_digest, and mod_auth_digest, the successor to mod_digest. A sample of other features includeSecure Sockets Layer andTransport Layer Security support (mod_ssl), aproxy module (mod_proxy), aURL rewriting module (mod_rewrite), custom log files (mod_log_config), and filtering support (mod_include and mod_ext_filter).

Popular compression methods on Apache include the external extension module, mod_gzip, implemented to help with reduction of the size (weight) of web pages served overHTTP.ModSecurity is an open source intrusion detection and prevention engine for Web applications. Apache logs can be analyzed through a Web browser using free scripts, such asAWStats/W3Perl or Visitors.

Virtual hosting allows one Apache installation to serve many differentwebsites. For example, one computer with one Apache installation could simultaneously serveexample.com,example.org,test47.test-server.example.edu, etc.

Apache features configurable error messages,DBMS-based authentication databases,content negotiation and supports severalgraphical user interfaces (GUIs).

It supports password authentication anddigital certificate authentication. Because the source code is freely available, anyone can adapt the server for specific needs, and there is a large public library of Apache add-ons.[23]

A more detailed list of features is provided below:

Performance

[edit]

Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs), which allow it to run in either aprocess-based mode, a hybrid (process andthread) mode, or an event-hybrid mode, in order to better match the demands of each particular infrastructure. Choice of MPM and configuration is therefore important.

For delivering static pages, Apache 2.2 series was considered significantly slower thannginx andvarnish.[40] To address this issue, the Apache developers created the Event MPM, which mixes the use of several processes and several threads per process in anasynchronousevent-based loop.[41][clarification needed] This architecture as implemented in the Apache 2.4 series performs at least as well as event-based web servers, according toJim Jagielski and other independent sources.[42][43][44] However, some independent but significantly outdated benchmarks show that it is still half as fast as nginx, e.g.[45]

Licensing

[edit]

The Apache HTTP Servercodebase wasrelicensed to theApache 2.0 License (from the previous 1.1 license) in January 2004,[46] and Apache HTTP Server 1.3.31 and 2.0.49 were the firstreleases using the new license.[47]

TheOpenBSD project did not like the change and continued the use of pre-2.0 Apache versions, effectivelyforking Apache 1.3.x for its purposes.[48][49][50] They initially replaced it withNginx, and soon after made their own replacement, OpenBSD Httpd, based on the Relayd project.[51][52][53][54]

Versions

[edit]

Version 1.1:The Apache License 1.1 was approved by the ASF in 2000: The primary change from the 1.0 license is in the 'advertising clause' (section 3 of the 1.0 license); derived products are no longer required to include attribution in their advertising materials, only in their documentation.

Version 2.0:The ASF adopted the Apache License 2.0 in January 2004. The stated goals of the license included making the license easier for non-ASF projects to use, improving compatibility with GPL-based software, allowing the license to be included by reference instead of listed in every file, clarifying the license on contributions, and requiring a patent license on contributions that necessarily infringe a contributor's own patents.

Development

[edit]
Versions of Apache HTTP Server
VersionInitial releaseLatest release
Unsupported: 1.31998-06-06[55]2010-02-03 (1.3.42)[56]
Unsupported: 2.02002-04-06[57]2013-07-10 (2.0.65)[58]
Unsupported: 2.22005-12-01[59]2017-07-11 (2.2.34)[60]
Latest version:2.42012-02-21[61]2025-07-23 (2.4.65)[62]
Legend:
Unsupported
Supported
Latest version
Preview version
Future version

The Apache HTTP Server Project is a collaborative software development effort aimed at creating a robust, commercial-grade, feature-rich and freely available source code implementation of an HTTP (Web) server. The project is jointly managed by a group of volunteers located around the world, using the Internet and the Web to communicate, plan, and develop the server and its related documentation. This project is part of theApache Software Foundation. In addition, hundreds of users have contributed ideas, code, and documentation to the project.[63][64][65]

Apache 2.4 dropped support forBeOS,TPF,A/UX,NeXT, andTandem platforms.[7]

Security

[edit]

Older versions of Apache were vulnerable to adenial-of-service attack calledSlowloris, which creates many simultaneous partially completed requests, exhausting the server's pool of available connections.[66] Since Apache 2.2.15, Apache ships the module mod_reqtimeout as the official solution supported by the developers.[67]

See also

[edit]

References

[edit]
  1. ^"About the Apache HTTP Server Project".Apache Software Foundation.Archived from the original on 7 June 2008. Retrieved2008-06-25.
  2. ^"Apache Software Foundation Index: Projects by Programming Language Index". Archived fromthe original on 2016-03-02. Retrieved2016-02-27.
  3. ^"Compiling and Installing".httpd.apache.org. The Apache Software Foundation.Archived from the original on 7 May 2016. Retrieved9 May 2016.
  4. ^"OS/Linux Distributions using Apache".secure1.securityspace.com.Archived from the original on 2018-09-18. Retrieved2018-09-17.
  5. ^"Platform Specific Notes - Apache HTTP Server Version 2.4".httpd.apache.org.Archived from the original on 2019-01-22. Retrieved2019-01-21.
  6. ^"Secure Web Server".vmssoftware.com.Archived from the original on 2020-10-22. Retrieved2020-10-20.
  7. ^ab"Upgrading to 2.4 from 2.2".Archived from the original on 2021-05-10. Retrieved2021-05-12.Platform support has been removed for BeOS, TPF, and even older platforms such as A/UX, Next, and Tandem. These were believed to be broken anyway.
  8. ^"The Apache EBCDIC Port - Apache HTTP Server Version 2.4".httpd.apache.org.Archived from the original on 2019-02-27. Retrieved2019-08-16.
  9. ^"About the Apache HTTP Server Project - The Apache HTTP Server Project".httpd.apache.org. Retrieved2024-02-08.
  10. ^Netcraft Market ShareArchived 2010-05-20 at theWayback Machine for Top Servers Across All Domains August 1995 - today (monthly updated)
  11. ^"February 2009 Web Server Survey".Netcraft. 18 February 2009.Archived from the original on 26 February 2009. Retrieved2009-03-29.
  12. ^"March 2025 Web Server Survey".Netcraft News. 25 March 2025.Archived from the original on 2025-04-01. Retrieved2025-04-14.
  13. ^"Usage Statistics of Web Servers".w3techs.com. Retrieved2025-04-14.
  14. ^"Apache Foundation".www.apache.org.Archived from the original on 13 December 2021. Retrieved22 August 2018.
  15. ^""Trillions and Trillions Served" documentary feature on The Apache Software Foundation". TheApacheFoundation / Youtube. 2020.Archived from the original on 2021-11-22.
  16. ^"A Foundation of Trust: Building a Blockchain Future : Brian Behlendorf". Long Now Foundation / YouTube. 2020-02-10.Archived from the original on 2021-11-22.
  17. ^"Information on the Apache HTTP Server Project". 1997-04-15. Archived fromthe original on April 15, 1997.
  18. ^"Apache Server Frequently Asked Questions". Archived fromthe original on 1997-01-06. Retrieved15 January 2017.
  19. ^McMillan, Robert (15 April 2000)."Apache Power".Linux Magazine. Archived from the original on 28 January 2019.
  20. ^Claburn, Thomas (2023-01-11)."Native Americans ask Apache foundation to change name".The Register.Archived from the original on 2023-01-12. Retrieved2023-01-12.
  21. ^Purdy, Kevin (2023-01-12)."Indigenous tech group asks Apache Foundation to change its name".Ars Technica.Archived from the original on 2023-01-12. Retrieved2023-01-12.
  22. ^"Apache Docs".httpd.apache.org.Archived from the original on 5 September 2018. Retrieved22 August 2018.
  23. ^"Apache Web Server".webopedia.com. 23 March 1998.Archived from the original on 12 May 2021. Retrieved12 May 2021.
  24. ^"Apache HTTP Server Tutorial: .htaccess files". Apache.org.Archived from the original on 2016-02-25. Retrieved2016-02-19.
  25. ^"mod_proxy". Apache.org.Archived from the original on 2018-07-29. Retrieved2016-02-19.
  26. ^"mod_proxy_balancer". Apache.org.Archived from the original on 2016-02-13. Retrieved2016-02-19.
  27. ^"Balancer Manager". Apache.org.Archived from the original on 2016-03-04. Retrieved2016-02-19.
  28. ^"Authentication and Authorization". Apache.org.Archived from the original on 2018-01-31. Retrieved2016-02-19.
  29. ^"mod_rewrite". Apache.org.Archived from the original on 2016-02-13. Retrieved2016-02-19.
  30. ^"mod_headers". Apache.org.Archived from the original on 2016-02-21. Retrieved2016-02-19.
  31. ^"mod_sed". Apache.org.Archived from the original on 2016-03-04. Retrieved2016-02-19.
  32. ^"mod_substitute". Apache.org.Archived from the original on 2016-03-04. Retrieved2016-02-19.
  33. ^"Apache httpd Tutorial: Introduction to Server Side Includes". Apache.org.Archived from the original on 2016-02-18. Retrieved2016-02-19.
  34. ^"mod_usertrack". Apache.org.Archived from the original on 2021-05-12. Retrieved2021-05-12.
  35. ^"Apache Tutorial: Dynamic Content with CGI". Apache.org.Archived from the original on 2021-11-15. Retrieved2016-02-19.
  36. ^"Per-user web directories". Apache.org.Archived from the original on 2016-02-16. Retrieved2016-02-19.
  37. ^"Expressions in Apache HTTP Server". Apache.org.Archived from the original on 2016-02-29. Retrieved2016-02-19.
  38. ^"mod_status". Apache.org.Archived from the original on 2016-02-13. Retrieved2016-02-19.
  39. ^"Apache Module: mod_ftp". Apache.org.Archived from the original on 2017-07-10. Retrieved2017-07-08.
  40. ^"Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN".Spoot!. 14 March 2011.Archived from the original on 24 April 2014. Retrieved23 April 2014.
  41. ^"worker - Apache HTTP Server Version 2.2".apache.org.Archived from the original on 2021-05-10. Retrieved2021-05-12.
  42. ^"Apache httpd 2.4"(PDF).Archived(PDF) from the original on 2012-01-27. Retrieved2012-02-08.
  43. ^"Picking a Proxy Server". 14 April 2014.Archived from the original on 3 March 2016. Retrieved19 February 2016.
  44. ^"Throughput evaluation of Apache 2.4.1". 22 February 2012.Archived from the original on 2016-03-02. Retrieved2016-02-19.
  45. ^"Performance of Apache 2.4 with the event MPM compared to Nginx".eschrade.com. 3 January 2014.Archived from the original on 13 March 2014. Retrieved13 March 2014.
  46. ^"Apache License, Version 2.0". The Apache Software Foundation. January 2004.Archived from the original on 2013-05-18. Retrieved2013-05-21.
  47. ^Burton, Richard Antony."FYI: Apache HTTP Server 2.0.49 Released".Newsgroupalt.apache.configuration. Retrieved2018-02-16.
  48. ^de Raadt, Theo (18 February 2004)."The new apache license".openbsd-misc (Mailing list). Retrieved2013-05-21.
  49. ^"Copyright Policy". OpenBSD.Archived from the original on 2017-11-13. Retrieved2013-05-12.
  50. ^"apache-httpd-openbsd-1.3.20140502p2 – OpenBSD improved and secured version of Apache 1.3".OpenBSD ports.Archived from the original on 2015-03-02. Retrieved2014-12-28.
  51. ^Marvin, Rob (25 March 2015)."Inside OpenBSD's new httpd Web server".SD Times.Archived from the original on 12 October 2019. Retrieved12 October 2019.
  52. ^"OpenBSD Upgrade Guide: 5.1 to 5.2".openbsd.org.Archived from the original on 2017-12-22. Retrieved2014-03-13.
  53. ^jj, ed. (2014-03-14)."Heads Up: Apache Removed from Base".OpenBSD Journal.Archived from the original on 2014-10-18. Retrieved2014-12-29.
  54. ^"OpenBSD Upgrade Guide: 5.5 to 5.6".openbsd.org.Archived from the original on 2014-12-22. Retrieved2014-12-29.
  55. ^"Announcement: Apache 1.3.0 Released !". 1998-06-06.Archived from the original on 2018-12-11. Retrieved2015-01-06.
  56. ^"Apache HTTP Server 1.3.42 released (final release of 1.3.x)".apache.org.Archived from the original on 2015-03-11. Retrieved2015-01-06.
  57. ^"Official Release: Apache 2.0.35 is now GA". 2002-04-06.Archived from the original on 2018-12-12. Retrieved2015-01-06.
  58. ^"[Announcement] Apache HTTP Server 2.0.65 Released".apache.org.Archived from the original on 2015-07-28. Retrieved2015-01-06.
  59. ^"Apache HTTP Server 2.2.0 Released". 2005-12-01.Archived from the original on 2018-12-12. Retrieved2015-01-06.
  60. ^"[Announce] Apache HTTP Server 2.2.34 Released".apache.org.Archived from the original on 2020-08-21. Retrieved2019-04-03.
  61. ^"[ANNOUNCEMENT] Apache HTTP Server 2.4.1 Released". 2012-02-21.Archived from the original on 2021-02-12. Retrieved2015-07-17.
  62. ^"Apache HTTP Server 2.4.65 Released".apache.org. Retrieved2025-07-29.
  63. ^Documentation Group."About the Apache HTTP Server Project - The Apache HTTP Server Project".apache.org.Archived from the original on 2008-06-07. Retrieved2021-05-12.
  64. ^"The Apache HTTP Server Open Source Project on Ohloh. (n.d.). Ohloh, the open source network. Retrieved November 12, 2012".Archived from the original on March 9, 2012. RetrievedFebruary 8, 2012.
  65. ^"Chapter 4. The Apache HTTP Server".fedoraproject.org. Archived fromthe original on 2012-11-25. Retrieved2012-12-03.
  66. ^Zdrnja, Bojan (21 June 2009)."Apache HTTP DoS tool mitigation".SANS Institute.Archived from the original on 12 November 2021. Retrieved12 November 2021.
  67. ^"mod_reqtimeout". Apache.org.Archived from the original on 2013-07-03. Retrieved2013-07-03.

External links

[edit]
Wikibooks has a book on the topic of:Apache
Top-level
projects
Commons
Incubator
Other projects
Attic
Licenses
Most popular
Other
Discontinued
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
International
National
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Apache_HTTP_Server&oldid=1315035547"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp