Apache HTTP Server

From wiki1463
(Redirected from Apache HTTP server)
Jump to navigation Jump to search

Template:Short description Template:Technical Template:Infobox software

The Apache HTTP Server is a free and open-source cross-platform web server, released under the terms of Apache License 2.0. It is developed and maintained by a community of developers under the auspices of the Apache Software Foundation.

The vast majority of Apache HTTP Server instances run on a Linux distribution,[1] but current versions also run on Microsoft Windows,[2] OpenVMS,[3] and a wide variety of Unix-like systems. Past versions also ran on NetWare, OS/2 and other operating systems,[4] including ports to mainframes.[5]

Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled.[6] Apache played a key role in the initial growth of the World Wide Web,[7] It quickly overtook NCSA HTTPd as the dominant web server software for HTTP. In 2009, it became the first web server software to serve more than 100 million websites.[8]

Template:As of, Netcraft estimated that Apache served 17.83% of the million busiest websites, with the other top four being Cloudflare at 22.99%, nginx at 20.11%, and Microsoft Internet Information Services at 4.16%.[9] According to W3Techs' review of all web sites, in April 2026 Apache was ranked third at 23.7% and nginx first at 32.7%, with Cloudflare Server second at 27.7%.[10]

Name

According to The Apache Software Foundation, its name was chosen "from respect for the various Native American nations collectively referred to as Apache, well-known for their superior skills in warfare strategy and their inexhaustible endurance".[11] 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 vendor Microsoft; Apache co-creator Brian Behlendorf—originator of the name—saw his effort somewhat parallel that of Geronimo, Chief of the last of the free Apache peoples.[12][13] But it conceded that the name "also makes a cute pun on 'a patchy web server'—a server made from a series of patches".

Despite the Foundation's current claim that the name was chosen out of respect for Native Americans, previous statements, such as the project's official documentation in 1995, say that the name was instead based on a pun. This documentation did not mention Native American tribes in the context of the name:[14][15]

Template:Blockquote

In addition, Behlendorf made no reference to Native American tribes when he talked about the origins of the name in a 2000 interview, where he stated that it was not a pun, but was instead chosen to be aggressive-sounding:[16]

Template:Blockquote

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

When Apache is running under Unix, its process name is Template:Code, which is short for "HTTP daemon".[19]

Feature overview

Apache supports a variety of features, many implemented as compiled modules which extend the core functions. These include authentication features, support for server-side programming languages such as Perl, Python, Tcl and PHP, support for Secure Sockets Layer and Transport Layer Security, proxying features, URL rewriting features, logging features, and filtering support.[20]

Apache supports data compression to reduce the size of web pages served over HTTP. ModSecurity is an open source intrusion detecting and preventing engine for web applications. Apache logs can be analyzed through a Web browser using free scripts, such as AWStats/W3Perl or Visitors.

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

Apache features configurable error messages, database management system (DBMS) based authentication databases, content negotiation and supports several graphical user interfaces (GUIs).

It supports password authentication and digital 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.[21]

A more detailed list of features is provided below:

Performance

Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs) which determine how the server handles multiple connections and requests. These modules allow Apache to run in either a process-based mode, a hybrid (process and thread) mode, or an event-driven mode, in order to better match the demands of different environments. Choice of MPM and configuration is therefore important.[38]

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

Licensing

The Apache HTTP Server codebase was relicensed to the Apache 2.0 License (from the previous 1.1 license) in January 2004,[45] and Apache HTTP Server 1.3.31 and 2.0.49 were the first releases using the new license.[46]

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

Versions

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

Versions of Apache HTTP Server
Version Initial release Latest release
scope="row" Template:Version 1998-06-06[54] 2010-02-03 (1.3.42)[55]
scope="row" Template:Version 2002-04-06[56] 2013-07-10 (2.0.65)[57]
scope="row" Template:Version 2005-12-01[58] 2017-07-11 (2.2.34)[59]
scope="row" Template:Version 2012-02-21[60] 2026-06-08 (2.4.68)[61]
Template: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 the Apache Software Foundation. In addition, hundreds of users have contributed ideas, code, and documentation to the project.[62][63][64]

Apache 2.4 dropped support for BeOS, TPF, A/UX, NeXT, and Tandem platforms.[4]

Security

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

See also

Template:Portal

References

Template:Reflist

Template:Wikibooks

Template:Apache Software Foundation Template:Web server software Template:Web interfaces

Template:Authority control

  1. ↑ Template:Cite web
  2. ↑ Template:Cite web
  3. ↑ Template:Cite web
  4. ↑ 4.0 4.1 Template:Cite web
  5. ↑ Template:Cite web
  6. ↑ Template:Cite web
  7. ↑ Netcraft Market Share Template:Webarchive for Top Servers Across All Domains August 1995 - today (monthly updated)
  8. ↑ Template:Cite web
  9. ↑ Template:Cite web
  10. ↑ Template:Cite web
  11. ↑ Template:Cite web
  12. ↑ Template:Cite webTemplate:Cbignore
  13. ↑ Template:Cite webTemplate:Cbignore
  14. ↑ Template:Cite web
  15. ↑ Template:Cite web
  16. ↑ Template:Cite web
  17. ↑ Template:Cite web
  18. ↑ Template:Cite web
  19. ↑ Template:Cite web
  20. ↑ Template:Cite web
  21. ↑ Template:Cite web
  22. ↑ Template:Cite web
  23. ↑ Template:Cite web
  24. ↑ Template:Cite web
  25. ↑ Template:Cite web
  26. ↑ Template:Cite web
  27. ↑ Template:Cite web
  28. ↑ Template:Cite web
  29. ↑ Template:Cite web
  30. ↑ Template:Cite web
  31. ↑ Template:Cite web
  32. ↑ Template:Cite web
  33. ↑ Template:Cite web
  34. ↑ Template:Cite web
  35. ↑ Template:Cite web
  36. ↑ Template:Cite web
  37. ↑ Template:Cite web
  38. ↑ Template:Cite web
  39. ↑ Template:Cite web
  40. ↑ Template:Cite web
  41. ↑ Template:Cite web
  42. ↑ Template:Cite web
  43. ↑ Template:Cite web
  44. ↑ Template:Cite web
  45. ↑ Template:Cite web
  46. ↑ Template:Cite newsgroup
  47. ↑ Template:Cite mailing list
  48. ↑ Template:Cite web
  49. ↑ Template:Cite web
  50. ↑ Template:Cite news
  51. ↑ Template:Cite web
  52. ↑ Template:Cite web
  53. ↑ Template:Cite web
  54. ↑ Template:Cite web
  55. ↑ Template:Cite web
  56. ↑ Template:Cite web
  57. ↑ Template:Cite web
  58. ↑ Template:Cite web
  59. ↑ Template:Cite web
  60. ↑ Template:Cite web
  61. ↑ Template:Cite web
  62. ↑ Template:Cite web
  63. ↑ Template:Cite web
  64. ↑ Template:Cite web
  65. ↑ Template:Cite web
  66. ↑ Template:Cite web