Apache HTTP Server: Difference between revisions
FreeBSD, OSX and Solaris are Unix |
No edit summary |
||
Line 8: | Line 8: | ||
|released = {{Start date and age|1995}}<ref>{{Cite web|url=http://httpd.apache.org/ABOUT_APACHE.html|title=About the Apache HTTP Server Project|publisher=[[Apache Software Foundation]]|accessdate=2008-06-25|archiveurl= http://web.archive.org/web/20080607122013/http://httpd.apache.org/ABOUT_APACHE.html|archivedate= 7 June 2008 <!--DASHBot-->|deadurl= no}}</ref> |
|released = {{Start date and age|1995}}<ref>{{Cite web|url=http://httpd.apache.org/ABOUT_APACHE.html|title=About the Apache HTTP Server Project|publisher=[[Apache Software Foundation]]|accessdate=2008-06-25|archiveurl= http://web.archive.org/web/20080607122013/http://httpd.apache.org/ABOUT_APACHE.html|archivedate= 7 June 2008 <!--DASHBot-->|deadurl= no}}</ref> |
||
|status = Active |
|status = Active |
||
|operating system = [[Windows]], [[OS X]], [[Linux]], [[Unix]], [[FreeBSD]], [[Solaris (operating system)|Solaris]], [[NetWare]], [[OS/2]], [[Transaction Processing Facility|TPF]], [[OpenVMS]] and [[eComStation]] |
|operating system = [[Windows]], [[OS X]], GNU/[[Linux]], [[Unix]], [[FreeBSD]], [[Solaris (operating system)|Solaris]], [[NetWare]], [[OS/2]], [[Transaction Processing Facility|TPF]], [[OpenVMS]] and [[eComStation]] |
||
|programming language = [[C (programming language)|C]]/[[C++]],<ref>{{Cite web|url=http://www.lextrait.com/Vincent/implementations.html|title=The Programming Languages Beacon, v10.0|first=Vincent|last =Lextrait|date=January 2010|accessdate=14 March 2010}}</ref> [[XML]]<ref>{{Cite web|title=Languages|work= |
|programming language = [[C (programming language)|C]]/[[C++]],<ref>{{Cite web|url=http://www.lextrait.com/Vincent/implementations.html|title=The Programming Languages Beacon, v10.0|first=Vincent|last =Lextrait|date=January 2010|accessdate=14 March 2010}}</ref> [[XML]]<ref>{{Cite web|title=Languages|work= |
||
Apache HTTP Server|agency=Ohloh|publisher= Black Duck Software|url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary|accessdate=2 April 2014}}</ref> |
Apache HTTP Server|agency=Ohloh|publisher= Black Duck Software|url=https://www.ohloh.net/p/apache/analyses/latest/languages_summary|accessdate=2 April 2014}}</ref> |
||
Line 18: | Line 18: | ||
The '''Apache HTTP Server''', colloquially called '''Apache''' ({{IPAc-en|ə|ˈ|p|æ|tʃ|iː}} {{Respell|ə|PA|chee}}), is the world's most widely 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]],<ref>[http://news.netcraft.com/archives/web_server_survey.html Netcraft Market Share] for Top Servers Across All Domains August 1995 - today (monthly updated)</ref> quickly overtaking NCSA HTTPd as the dominant HTTP server, and has remained the most popular HTTP server since April 1996. In 2009, it became the first web server software to serve more than 100 million [[website]]s.<ref name="100millionsites">{{Cite web|url=http://news.netcraft.com/archives/2009/02/18/february_2009_web_server_survey.html|title=February 2009 Web Server Survey|publisher=[[Netcraft]]|accessdate=2009-03-29|archiveurl= http://web.archive.org/web/20090226092501/http://news.netcraft.com//archives//2009//02//18//february_2009_web_server_survey.html|archivedate= 26 February 2009 <!--DASHBot-->|deadurl= no}}</ref> |
The '''Apache HTTP Server''', colloquially called '''Apache''' ({{IPAc-en|ə|ˈ|p|æ|tʃ|iː}} {{Respell|ə|PA|chee}}), is the world's most widely 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]],<ref>[http://news.netcraft.com/archives/web_server_survey.html Netcraft Market Share] for Top Servers Across All Domains August 1995 - today (monthly updated)</ref> quickly overtaking NCSA HTTPd as the dominant HTTP server, and has remained the most popular HTTP server since April 1996. In 2009, it became the first web server software to serve more than 100 million [[website]]s.<ref name="100millionsites">{{Cite web|url=http://news.netcraft.com/archives/2009/02/18/february_2009_web_server_survey.html|title=February 2009 Web Server Survey|publisher=[[Netcraft]]|accessdate=2009-03-29|archiveurl= http://web.archive.org/web/20090226092501/http://news.netcraft.com//archives//2009//02//18//february_2009_web_server_survey.html|archivedate= 26 February 2009 <!--DASHBot-->|deadurl= no}}</ref> |
||
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]]),<ref>[https://secure1.securityspace.com/s_survey/data/man.200907/apacheos.html OS/Linux Distributions using Apache<!-- Bot generated title -->]</ref> the software is available for a wide variety of [[operating system]]s, besides [[Unix]] and Linux, including [[eComStation]], [[Microsoft Windows]], [[NetWare]], [[OpenVMS]], [[OS/2]], and [[Transaction Processing Facility|TPF]]. Released under the [[Apache License]], Apache is [[free and open-source software]]. |
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 GNU/[[Linux]]),<ref>[https://secure1.securityspace.com/s_survey/data/man.200907/apacheos.html OS/GNU+Linux Distributions using Apache<!-- Bot generated title -->]</ref> the software is available for a wide variety of [[operating system]]s, besides [[Unix]] and GNU+Linux, including [[eComStation]], [[Microsoft Windows]], [[NetWare]], [[OpenVMS]], [[OS/2]], and [[Transaction Processing Facility|TPF]]. Released under the [[Apache License]], Apache is [[free and open-source software]]. |
||
{{As of|2013|06}}, Apache was estimated to serve 54.2% of all active websites and 53.3% of the top servers across all domains.<ref name="netcraft">{{Cite web|title=June 2013 Web Server Survey|url=http://news.netcraft.com/archives/2013/06/06/june-2013-web-server-survey-3.html|publisher=[[Netcraft]]|accessdate=2013-06-12}}</ref><ref>[http://w3techs.com/technologies/overview/web_server/all sage of web servers for websites]</ref><ref>[http://www.ntchosting.com/apache-web-server.html Information about the Apache Web Server. (n.d.). Web Hosting Services, VPS Servers and Domain Names by NTC Hosting. Retrieved November 12, 2012]</ref><ref>[https://blog.knownhost.com/iis-vs-apache-why-apache-has-held-its-1-spot/ Why Apache Has Held its #1 Spot.]</ref><ref>[http://www.modulehosting.com/apache.html Apache Server Definition. (n.d.). Module for hosting (mod_hosting) for Apache 2 servers. Retrieved November 12, 2012]</ref> |
{{As of|2013|06}}, Apache was estimated to serve 54.2% of all active websites and 53.3% of the top servers across all domains.<ref name="netcraft">{{Cite web|title=June 2013 Web Server Survey|url=http://news.netcraft.com/archives/2013/06/06/june-2013-web-server-survey-3.html|publisher=[[Netcraft]]|accessdate=2013-06-12}}</ref><ref>[http://w3techs.com/technologies/overview/web_server/all sage of web servers for websites]</ref><ref>[http://www.ntchosting.com/apache-web-server.html Information about the Apache Web Server. (n.d.). Web Hosting Services, VPS Servers and Domain Names by NTC Hosting. Retrieved November 12, 2012]</ref><ref>[https://blog.knownhost.com/iis-vs-apache-why-apache-has-held-its-1-spot/ Why Apache Has Held its #1 Spot.]</ref><ref>[http://www.modulehosting.com/apache.html Apache Server Definition. (n.d.). Module for hosting (mod_hosting) for Apache 2 servers. Retrieved November 12, 2012]</ref> |
Revision as of 20:58, 15 July 2015
Original author(s) | Robert McCool |
---|---|
Developer(s) | Apache Software Foundation |
Initial release | 1995[1] |
Repository | |
Written in | C/C++,[2] XML[3] |
Operating system | Windows, OS X, GNU/Linux, Unix, FreeBSD, Solaris, NetWare, OS/2, TPF, OpenVMS and eComStation |
Type | Web server |
License | Apache License 2.0 |
Website | httpd |
The Apache HTTP Server, colloquially called Apache (/əˈpætʃiː/ ə-PA-chee), is the world's most widely 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 the most popular HTTP server 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 GNU/Linux),[6] the software is available for a wide variety of operating systems, besides Unix and GNU+Linux, including eComStation, Microsoft Windows, NetWare, OpenVMS, OS/2, and TPF. Released under the Apache License, Apache is free and open-source software.
As of June 2013[update], Apache was estimated to serve 54.2% of all active websites and 53.3% of the top servers across all domains.[7][8][9][10][11]
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 its 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).[12] Official documentation used to give this explanation of the name,[13] but in a 2000 interview, Brian Behlendorf, one of the creators of Apache, set the record straight:[14]
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."
Features
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 rewriter (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.[15]
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.[16] To address this issue, the Apache version considered by the Apache Foundation as providing high-performance is the multi-threaded version, which mixes the use of several processes and several threads per process.[17] 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 claimed by the president of the Apache Foundation, Jim Jagielski.[18] However, some independent benchmarks show that it still is half as fast as nginx.[19][20]
Licensing
The Apache HTTP Server codebase was relicensed to the Apache 2.0 License (from the previous 1.1 license) in January 2004,[21] and Apache HTTP Server 1.3.31 and 2.0.49 were the first releases using the new license.[22]
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.[23][24][25] Later it switched to nginx.[26][27][28]
Development
Version | Initial release | Latest release |
---|---|---|
1.3 | 1998-06-06[29] | 2010-02-03 (1.3.42)[30] |
2.0 | 2002-04-06[31] | 2013-07-10 (2.0.65)[32] |
2.2 | 2005-12-01[33] | 2014-08-03 (2.2.29)[34] |
2.4 | 2012-02-21[35] | 2015-01-29 (2.4.12)[36] |
Old version, not maintained Old version, still maintained Latest 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.[37][38][39]
See also
- ApacheBench
- Comparison of web server software
- .htaccess
- .htpasswd
- IBM HTTP Server
- Internet Cache Protocol
- LAMP (software bundle)
- List of Apache modules
- POSSE project
- Proxy server
- Reverse proxy
- suEXEC
- WAMP (software bundle)
- Web accelerator
- XAMPP
References
- ^ "About the Apache HTTP Server Project". Apache Software Foundation. Archived from the original on 7 June 2008. Retrieved 2008-06-25.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ Lextrait, Vincent (January 2010). "The Programming Languages Beacon, v10.0". Retrieved 14 March 2010.
- ^ "Languages". Apache HTTP Server. Black Duck Software. Ohloh. Retrieved 2 April 2014.
- ^ Netcraft Market Share for Top Servers Across All Domains August 1995 - today (monthly updated)
- ^ "February 2009 Web Server Survey". Netcraft. Archived from the original on 26 February 2009. Retrieved 2009-03-29.
{{cite web}}
: Unknown parameter|deadurl=
ignored (|url-status=
suggested) (help) - ^ OS/GNU+Linux Distributions using Apache
- ^ "June 2013 Web Server Survey". Netcraft. Retrieved 2013-06-12.
- ^ sage of web servers for websites
- ^ Information about the Apache Web Server. (n.d.). Web Hosting Services, VPS Servers and Domain Names by NTC Hosting. Retrieved November 12, 2012
- ^ Why Apache Has Held its #1 Spot.
- ^ Apache Server Definition. (n.d.). Module for hosting (mod_hosting) for Apache 2 servers. Retrieved November 12, 2012
- ^ "Why the name 'Apache'?". HTTPd Frequently Asked Questions.
- ^ "Information on the Apache HTTP Server Project". 1997-04-15.
- ^ Apache Power|Linux Magazine
- ^ What is Apache Web server? - A Word Definition From the Webopedia Computer Dictionary. (n.d.). Webopedia: Online Computer Dictionary for Computer and Internet Terms and Definitions. Retrieved November 12, 2012
- ^ Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN
- ^ Apache MPM worker
- ^ Apache httpd 2.4
- ^ Apache 2.4 Faster Than Nginx?
- ^ Performance of Apache 2.4 with the event MPM compared to Nginx
- ^ "Apache License, Version 2.0". The Apache Software Foundation. January 2004. Retrieved 2013-05-21.
- ^ Burton, Richard Antony. "FYI: Apache HTTP Server 2.0.49 Released". Newsgroup: alt.apache.configuration.
{{cite newsgroup}}
:|access-date=
requires|url=
(help) - ^ de Raadt, Theo (18 February 2004). "The new apache license". openbsd-misc (Mailing list). Retrieved 2013-05-21.
{{cite mailing list}}
: Unknown parameter|mailinglist=
ignored (|mailing-list=
suggested) (help) - ^ "Copyright Policy". OpenBSD. Retrieved 2013-05-12.
- ^ "apache-httpd-openbsd-1.3.20140502p2 – OpenBSD improved and secured version of Apache 1.3". OpenBSD ports. Retrieved 2014-12-28.
- ^ OpenBSD Upgrade Guide: 5.1 to 5.2
- ^ jj, ed. (2014-03-14). "Heads Up: Apache Removed from Base". OpenBSD Journal.
- ^ OpenBSD Upgrade Guide: 5.5 to 5.6
- ^ "Announcement: Apache 1.3.0 Released !". 1998-06-06. Retrieved 2015-01-06.
- ^ http://mail-archives.apache.org/mod_mbox/httpd-announce/201002.mbox/%3C20100203000334.GA19021%40infiltrator.stdlib.net%3E
- ^ "Official Release: Apache 2.0.35 is now GA". 2002-04-06. Retrieved 2015-01-06.
- ^ http://mail-archives.apache.org/mod_mbox/httpd-announce/201307.mbox/%3C20130710124920.2b8793ed.wrowe%40rowe-clan.net%3E
- ^ "Apache HTTP Server 2.2.0 Released". 2005-12-01. Retrieved 2015-01-06.
- ^ http://mail-archives.apache.org/mod_mbox/httpd-announce/201409.mbox/%3C540737D6.5090908%40apache.org%3E
- ^ "[ANNOUNCEMENT] Apache HTTP Server 2.4.1 Released". 2012-02-21. Retrieved 2015-01-06.
- ^ http://www.apache.org/dist/httpd/Announcement2.4.html
- ^ Netcraft. (n.d.). About the Apache HTTP Server Project - The Apache HTTP Server Project. Welcome! - The Apache HTTP Server Project. Retrieved November 12, 2012
- ^ The Apache HTTP Server Open Source Project on Ohloh. (n.d.). Ohloh, the open source network. Retrieved November 12, 2012
- ^ Chapter 4. The Apache HTTP Server. (n.d.). Fedora Documentation. Retrieved November 12, 2012