Apache HTTP Server

Apache HTTP Server
Original author(s) Robert McCool
Developer(s) Apache Software Foundation
Initial release 1995 (1995)[1]
Stable release 2.4.20 (April 8, 2016 (2016-04-08)) [±]
Development status Active
Written in C,[2] XML[3]
Operating system eComStation, FreeBSD, Linux, NetWare, OpenVMS, OS/2, OS X, Solaris, TPF, Unix and Windows
Type Web server
License Apache License 2.0
Website httpd.apache.org

The Apache HTTP Server, colloquially called Apache (/əˈpæ/ ə-PA-chee), is the world's most used web server software. Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled. Apache played a key role in the initial growth of the World Wide Web,[4] quickly overtaking NCSA HTTPd as the dominant HTTP server, and has remained most popular since April 1996. In 2009, it became the first web server software to serve more than 100 million websites.[5]

Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. Most commonly used on a Unix-like system (usually Linux),[6] the software is available for a wide variety of operating systems besides Unix, including eComStation, Microsoft Windows, NetWare, OpenVMS, OS/2, and TPF. Released under the Apache License, Apache is free and open-source software.

As of November 2015, Apache was estimated to serve 50% of all active websites and 37% of the top servers across all domains.[7]

Name

According to the FAQ in the Apache project website, the name Apache was chosen out of respect to the Native American tribe Apache and their superior skills in warfare and strategy. The name was widely believed to be a pun on 'A Patchy Server' (since it was a set of software patches).[8] Official documentation used to give this explanation of the name,[9] but in a 2000 interview, Brian Behlendorf, one of the creators of Apache, set the record straight:[10]

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 a server 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 connotated: "Take no prisoners. Be kind of aggressive and kick some ass."

When Apache is running, its process name is sometimes httpd, which is short for "HTTP daemon."

Feature overview

Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Some common language interfaces support Perl, Python, Tcl, and PHP. Popular authentication modules include mod_access, mod_auth, mod_digest, and mod_auth_digest, the successor to mod_digest. A sample of other features include Secure Sockets Layer and Transport Layer Security support (mod_ssl), a proxy module (mod_proxy), a URL 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 over HTTP. 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 as AWStats/W3Perl or Visitors.

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

Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by 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.[11]

HTTP server and proxy features

Performance

Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs), which allow Apache to run in a process-based, hybrid (process and thread) or event-hybrid mode, to better match the demands of each particular infrastructure. This implies that the choice of correct MPM and the correct configuration is important. Where compromises in performance need to be made, the design of Apache is to reduce latency and increase throughput, relative to simply handling more requests, thus ensuring consistent and reliable processing of requests within reasonable time-frames.

For delivery of static pages, Apache 2.2 series was considered significantly slower than nginx and varnish.[28] To address this issue, the Apache version considered by the Apache Foundation as providing high-performance is the Event MPM, which mixes the use of several processes and several threads per process in an asynchronous event-based loop.[29] This architecture, and the way it was implemented in the Apache 2.4 series, provides for performance equivalent or slightly better than event-based web servers, as is cited by Jim Jagielski and other independent sources.[30][31][32] However, some independent, but significantly outdated, benchmarks show that it still is half as fast as nginx.[33][34]

Licensing

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

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.[37][38][39] They initially replaced it with Nginx, and soon after made their own replacement, OpenBSD Httpd, based on the relayd project.[40][41][42]

Development

Version Initial release Latest release
Old version, no longer supported: 1.3 1998-06-06[43] 2010-02-03 (1.3.42)[44]
Old version, no longer supported: 2.0 2002-04-06[45] 2013-07-10 (2.0.65)[46]
Older version, yet still supported: 2.2 2005-12-01[47] 2015-07-17 (2.2.31)[48]
Current stable version: 2.4 2012-02-21[49] 2016-04-08 (2.4.20)[50]
Legend:
Old version
Older version, still supported
Latest version
Latest preview version
Future release

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.[51][52][53]

See also

References

  1. "About the Apache HTTP Server Project". Apache Software Foundation. Archived from the original on 7 June 2008. Retrieved 2008-06-25.
  2. https://projects-old.apache.org/indexes/language.html
  3. "Languages". Apache HTTP Server. Black Duck Software. Ohloh. Retrieved 2 April 2014.
  4. Netcraft Market Share for Top Servers Across All Domains August 1995 - today (monthly updated)
  5. "February 2009 Web Server Survey". Netcraft. Archived from the original on 26 February 2009. Retrieved 2009-03-29.
  6. OS/GNU+Linux Distributions using Apache
  7. "November 2015 Web Server Survey". Netcraft. Retrieved 2015-12-15.
  8. "Why the name 'Apache'?". HTTPd Frequently Asked Questions.
  9. "Information on the Apache HTTP Server Project". 1997-04-15. Archived from the original on April 15, 1997.
  10. "Apache Power". Linux Magazine.
  11. "What is Apache Web Server? Webopedia". webopedia.com.
  12. "Apache HTTP Server Tutorial: .htaccess files".
  13. "mod_proxy".
  14. "mod_proxy_balancer".
  15. "Balancer Manager".
  16. "Authentication and Authorization".
  17. "mod_rewrite".
  18. "mod_headers".
  19. "mod_sed".
  20. "mod_substitute".
  21. "Apache httpd Tutorial: Introduction to Server Side Includes".
  22. "mod_usertrack".
  23. "Apache Tutorial: Dynamic Content with CGI".
  24. "Per-user web directorie".
  25. "Expressions in Apache HTTP Server".
  26. "mod_status".
  27. "mod_xml2enc".
  28. "Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN". Spoot!.
  29. "worker - Apache HTTP Server Version 2.2". apache.org.
  30. Apache httpd 2.4
  31. "Picking a Proxy Server".
  32. "Throughput evaluation of Apache 2.4.1".
  33. "Joshua Zhu’s Blog". zhuzhaoyuan.com.
  34. "Performance of Apache 2.4 with the event MPM compared to Nginx". eschrade.com.
  35. "Apache License, Version 2.0". The Apache Software Foundation. January 2004. Retrieved 2013-05-21.
  36. Burton, Richard Antony. "FYI: Apache HTTP Server 2.0.49 Released". Newsgroup: alt.apache.configuration.
  37. de Raadt, Theo (18 February 2004). "The new apache license". openbsd-misc (Mailing list). Retrieved 2013-05-21.
  38. "Copyright Policy". OpenBSD. Retrieved 2013-05-12.
  39. "apache-httpd-openbsd-1.3.20140502p2 – OpenBSD improved and secured version of Apache 1.3". OpenBSD ports. Retrieved 2014-12-28.
  40. "OpenBSD Upgrade Guide: 5.1 to 5.2". openbsd.org.
  41. jj, ed. (2014-03-14). "Heads Up: Apache Removed from Base". OpenBSD Journal.
  42. "OpenBSD Upgrade Guide: 5.5 to 5.6". openbsd.org.
  43. "Announcement: Apache 1.3.0 Released !". 1998-06-06. Retrieved 2015-01-06.
  44. "Apache HTTP Server 1.3.42 released (final release of 1.3.x)". apache.org.
  45. "Official Release: Apache 2.0.35 is now GA". 2002-04-06. Retrieved 2015-01-06.
  46. "[Announcement] Apache HTTP Server 2.0.65 Released". apache.org.
  47. "Apache HTTP Server 2.2.0 Released". 2005-12-01. Retrieved 2015-01-06.
  48. "[Announce] Apache HTTP Server 2.2.29 Released". apache.org.
  49. "[ANNOUNCEMENT] Apache HTTP Server 2.4.1 Released". 2012-02-21. Retrieved 2015-07-17.
  50. "Apache HTTP Server Project". apache.org.
  51. Documentation Group. "About the Apache HTTP Server Project - The Apache HTTP Server Project". apache.org.
  52. The Apache HTTP Server Open Source Project on Ohloh. (n.d.). Ohloh, the open source network. Retrieved November 12, 2012
  53. "Chapter 4. The Apache HTTP Server". fedoraproject.org.

External links

This article is issued from Wikipedia - version of the Wednesday, May 04, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.