Apache HTTP Server

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Apache HTTP Server
Design by Robert McCool
Developed by Apache Software Foundation
Initial release 1995[1]
Latest release 2.2.11 / 2008-12-14; 110 days ago
Written in C
Operating system Cross-platform
Available in English
Type Web server
License Apache License 2.0
Website http://httpd.apache.org/

The Apache HTTP Server, commonly referred to simply as Apache IPA: /əˈpætʃi/, is a web server notable for playing a key role in the initial growth of the World Wide Web and in 2009 became the first web server to surpass the 100 million web site milestone [2]. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently known as Sun Java System Web Server), and has since evolved to rival other Unix-based web servers in terms of functionality and performance. The majority of all web servers using Apache are Linux web servers.

Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. The application is available for a wide variety of operating systems, including Unix, GNU, FreeBSD, Linux, Solaris, Novell NetWare, Mac OS X, Microsoft Windows, OS/2, TPF, and eComStation. Released under the Apache License, Apache is characterized as free software and open source software.

Since April 1996 Apache has been the most popular HTTP server on the World Wide Web. As of March 2009 Apache served over 46% of all websites and over 66% of the million busiest.[3]

Contents

[edit] History and name

The first version of the Apache web server was created by Robert McCool, who was heavily involved with the National Center for Supercomputing Applications web server, known simply as NCSA HTTPd. When McCool left NCSA in mid-1994, the development of httpd stalled, leaving a variety of patches for improvements circulating through e-mails. These patches were provided by a number of other developers besides McCool: Brian Behlendorf, Roy Fielding, Rob Hartill, David Robinson, Cliff Skolnick, Randy Terbush, Robert S. Thau, Andrew Wilson, Eric Hagberg, Frank Peters and Nicolas Pioch, and they thus helped to form the original "Apache Group".

There have been two explanations of the project's name. According to the Apache Foundation, the name was chosen out of respect for the Native American tribe of Apache (Indé), well-known for their endurance and their skills in warfare.[4] However, the original FAQ on the Apache Server project's website, from 1996 to 2001, claimed that "The result after combining [the NCSA httpd patches] was a patchy server.[5][6] The first explanation was supported at an Apache Conference[7] and in an interview in 2000 by Brian Behlendorf, who said that the name connoted "Take no prisoners. Be kind of aggressive and kick some ass".[8] Behlendorf then contradicted this in a 2007 interview, stating that "The Apache server isn't named in honor of Geronimo's tribe" but that so many revisions were sent in that "the group called it 'a patchy Web server'".[9] Both explanations are probably appropriate[10] though the pun explanation has fallen into disfavor.[11]

Version 2 of the Apache server was a substantial re-write of much of the Apache 1.x code, with a strong focus on further modularization and the development of a portability layer, the Apache Portable Runtime. The Apache 2.x core has several major enhancements over Apache 1.x. These include UNIX threading, better support for non-Unix platforms (such as Microsoft Windows), a new Apache API, and IPv6 support.[12] The first alpha release of Apache 2 was in March 2000, with the first general availability release on April 6, 2002.[13]

Version 2.2 introduced a more flexible authorization API. It also features improved cache modules and proxy modules.[14]

[edit] 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 mod_perl, mod_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 SSL and TLS support (mod_ssl), a proxy module, a URL rewriter (also known as a rewrite engine, implemented under 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. 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 actual websites. For example, one machine with one Apache installation could simultaneously serve www.example.com, www.test.com, test47.test-server.test.com, etc.

Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs).

[edit] Use

Apache is primarily used to serve both static content and dynamic Web pages on the World Wide Web. Many web applications are designed expecting the environment and features that Apache provides.

Apache is the web server component of the popular LAMP web server application stack, alongside MySQL, and the PHP/Perl/Python (and now also Ruby) programming languages.

Apache is redistributed as part of various proprietary software packages including the Oracle Database or the IBM WebSphere application server. Mac OS X integrates Apache as its built-in web server and as support for its WebObjects application server. It is also supported in some way by Borland in the Kylix and Delphi development tools. Apache is included with Novell NetWare 6.5, where it is the default web server. Apache is also included with many Linux distributions.

Apache is used for many other tasks where content needs to be made available in a secure and reliable way. One example is sharing files from a personal computer over the Internet. A user who has Apache installed on their desktop can put arbitrary files in Apache's document root which can then be shared.

Programmers developing web applications often use a locally installed version of Apache in order to preview and test code as it is being developed.

Microsoft Internet Information Services (IIS) is the main competitor to Apache, trailed by Sun Microsystems' Sun Java System Web Server and a host of other applications such as Zeus Web Server. Some of the biggest web sites in the world are run using Apache. Google's search engine front end is based on a modified version of Apache, named Google Web Server (GWS).[15] Several Wikimedia projects also run on Apache servers.[16]

[edit] License

The software license under which software from the Apache Foundation is distributed is a distinctive part of the Apache HTTP Server's history and presence in the open source software community. The Apache License allows for the distribution of both open and closed source derivations of the source code.

The Free Software Foundation does not consider the Apache License to be compatible with version 2 of the GNU General Public License (GPL) in that software licensed under the Apache License cannot be integrated with software that is distributed under the GPL:

This is a free software license but it is incompatible with the GPL. The Apache Software License is incompatible with the GPL because it has a specific requirement that is not in the GPL: it has certain patent termination cases that the GPL does not require. We don't think those patent termination cases are inherently a bad idea, but nonetheless they are incompatible with the GNU GPL.[17]

However, version 3 of the GPL includes a provision (Section 7e) which allows it to be compatible with licenses that have patent retaliation clauses, including the Apache License.

The name Apache is a registered trademark and may only be used with the trademark holder's express permission.[18]

[edit] See also

[edit] References

  1. ^ "About the Apache HTTP Server Project". Apache Software Foundation. http://httpd.apache.org/ABOUT_APACHE.html. Retrieved on 2008-06-25. 
  2. ^ "February 2009 Web Server Survey". Netcraft. http://news.netcraft.com/archives/2009/02/18/february_2009_web_server_survey.html. Retrieved on 2009-03-29. 
  3. ^ "March 2009 Web Server Survey". Netcraft. http://news.netcraft.com/archives/2009/03/15/march_2009_web_server_survey.html. Retrieved on 2009-03-29. 
  4. ^ "Frequently Asked Questions". The Apache Software Foundation. 2007. http://www.apache.org/foundation/faq.html#name. Retrieved on 2008-04-23. 
  5. ^ "Information on the Apache HTTP Server Project". 1996-10-28. http://web.archive.org/web/19961028123412/http://www.apache.org/info.html. Retrieved on 2008-10-01. 
  6. ^ "Information on the Apache HTTP Server Project". 2001-08-03. http://web.archive.org/web/20010803130101/http://www.apache.org/info.html. Retrieved on 2008-10-01. 
  7. ^ Bowen, Rich (2001-05-12). "A Patchy Server and the FAQ". apache-docs mailing list. http://mail-archives.apache.org/mod_mbox/httpd-docs/200105.mbox/%3c200105121825.f4CIPwK01232@rhiannon.rcbowen.com%3e. Retrieved on 2008-10-01. 
  8. ^ "Apache Power". Features. Linux Magazine. 2000-04. http://web.archive.org/web/20050214074858/http://www.linux-mag.com/2000-04/behlendorf_02.html. Retrieved on 2008-10-01. 
  9. ^ Babcock, Charles (2007-01-13). "High Five: Meet Brian Behlendorf, CTO of CollabNet". InformationWeek (CMP Media). http://www.informationweek.com/news/software/open_source/showArticle.jhtml?articleID=196900465. 
  10. ^ Slive, Joshua (2001-05-12). "Re: A Patchy Server and the FAQ". apache-docs mailing list. http://mail-archives.apache.org/mod_mbox/httpd-docs/200105.mbox/%3CPine.GSO.4.31.0105121135550.16571-100000@garibaldi.commerce.ubc.ca%3E. Retrieved on 2008-10-01. 
  11. ^ "Why the name "Apache"?". Apache Server Frequently Asked Questions. The Apache Software Foundation. http://httpd.apache.org/docs/1.3/misc/FAQ.html#name. Retrieved on 2008-04-23. 
  12. ^ . Overview of new features in Apache 2.0, Apache HTTP Server Documentation. 2.0. The Apache Software Foundation.
  13. ^ "Apache 2 Release". written at England. Apache Week. 2002-04-06. http://www.apacheweek.com/features/ap2. 
  14. ^ . Overview of new features in Apache 2.2, Apache HTTP Server Documentation. 2.2. The Apache Software Foundation.
  15. ^ "How Google works". http://www.googlerank.com/ranking/Ebook/howgoogleworks.html. Retrieved on 2008-02-04. 
  16. ^ "Wikimedia web servers". Wikimedia wikitech-l mailing list. 2008-02-12. http://lists.wikimedia.org/pipermail/wikitech-l/2008-February/036349.html. Retrieved on 2008-02-12. 
  17. ^ Various Licenses and Comments about Them from GNU
  18. ^ "Apache License and Distribution FAQ". The Apache Software Foundation. 2007. http://www.apache.org/foundation/licence-FAQ.html#Marks. 

[edit] External links


Personal tools