Apache HTTP Server
|Original author(s)||Robert McCool|
|Developer(s)||Apache Software Foundation|
2.4.4 (February 25, 2013[±])
|License||Apache License 2.0|
The Apache HTTP Server, commonly referred to as Apache (// ə-PA-chee), is a web server software program notable for playing a key role in the initial growth of the World Wide Web. In 2009, it became the first web server software to surpass the 100 million website milestone. Apache was the first viable alternative to the Netscape Communications Corporation web server (currently named Oracle iPlanet Web Server). Typically Apache is run on a Unix-like operating system, and was developed for use on Linux.
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, FreeBSD, Linux, Solaris, Novell NetWare, OS X, Microsoft Windows, OS/2, TPF, and eComStation. Released under the Apache License, Apache is open-source software.
Since April 1996 Apache has been the most popular HTTP server software in use. 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.
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), but this is erroneous. Official documentation used to give this very explanation of the name, but in a 2000 interview, Brian Behlendorf, one of the creators of Apache, set the record straight:
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 connoted: "Take no prisoners. Be kind of aggressive and kick some ass."—Brian Behlendorf, 
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 actual websites. For example, one machine with one Apache installation could simultaneously serve www.example.com, www.example.org, test47.test-server.example.edu, etc.
The open source software movement has received enormous attention in the last several years. It is often characterized as a fundamentally new way to develop software that poses a serious challenge to the commercial software businesses that dominate most software markets today.
Although the main design goal of Apache is not to be the "fastest" web server, Apache does have performance similar to other "high-performance" web servers. 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.
The Apache 2.2 series was considered significantly slower than nginx for delivering static pages, although remaining significantly faster for dynamic pages. 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. This architecture, and the way it was implemented in the Apache 2.4 series, provides for performance equivalent or slightly better than event-based webservers.
The Apache HTTP Server codebase was relicensed to the Apache 2.0 License (from the previous 1.1 license) in January 2004, and Apache HTTP Server 1.3.31 and 2.0.49 were the first releases using the new license. Some Apache users did not like the change and continued the use of pre-2.0 Apache versions (typically 1.3.x). For example, the OpenBSD project effectively forked Apache 1.3.x for its purposes.
Apache HTTP Server Project
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.
- List of Apache modules
- .htaccess & .htpasswd
- POSSE project
- suEXEC — allows users to run CGI and SSI applications as a different user
- Overview and discussions
- Comparison of web server software
- Comparison of lightweight web servers
- Web accelerator which discusses host-based HTTP acceleration
- Proxy server which discusses client-side proxies
- Reverse proxy which discusses origin-side proxies
- Internet Cache Protocol
- Apache-style configuration file parsers
- Dotconf - an open-source project for Apache-style configuration file parser. Dotconf is written in C language and distributed under LGPL.
- qLibc - general purpose C library. It provides Apache-style configuration file parser in C language API. qLibc is distributed under BSD license.
- "About the Apache HTTP Server Project". Apache Software Foundation. Archived from the original on 7 June 2008. Retrieved 2008-06-25.
- "Apache HTTP Server". Ohloh.net.
- Netcraft Market Share for Top Servers Across All Domains August 1995 - November 2009
- "February 2009 Web Server Survey". Netcraft. Archived from the original on 26 February 2009. Retrieved 2009-03-29.
- "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, from http://www.ntchosting.com/apache-web-server.html
- Mitchell, B. (n.d.). What Is The Apache Web Server?. Networking - Computer and Wireless Networking Basics - Home Networks Tutorials. Retrieved November 12, 2012, from http://compnetworking.about.com/cs/webserver
- Apache Server Definition. (n.d.). Module for hosting (mod_hosting) for apache 2 servers. Retrieved November 12, 2012, from http://www.modulehosting.com/apache.html
- "Why the name 'Apache'?". HTTPd Frequently Asked Questions.
- "Information on the Apache HTTP Server Project". 1997-04-15.
- 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, from http://www.webopedia.com/TERM/A/Apache_ Web_server.html
- Welcome to The Apache Software Foundation!. http://www.apache.org/
- Mockus, A., Fielding, R. T., & Herbsleb, J. (n.d.). A Case Study of Open Source Software Development: The Apache Server http://www.ifipwg213.org/system/files/mockusapache.pdf. Retrieved November 12, 2012, from ifipwg213.org/system/files/mockusapache.p
- Apache MPM worker
- http://people.apache.org/~jim/presos/ACNA11/Apache_httpd_cloud.pdf Apache httpd 2.4
- "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". alt.apache.configuration. Retrieved 2013-05-23.
- de Raadt, Theo (18 February 2004). "The new apache license". openbsd-misc mailing list. http://marc.info/?l=openbsd-misc&m=107714762916291. Retrieved 2013-05-21.
- "Copyright Policy". OpenBSD. Retrieved 2013-05-12.
- Netcraft. (n.d.). About the Apache HTTP Server Project - The Apache HTTP Server Project. Welcome! - The Apache HTTP Server Project. Retrieved November 12, 2012, from http://httpd.apache.org/ABOUT_APACHE.html
- The Apache HTTP Server Open Source Project on Ohloh. (n.d.). Ohloh, the open source network. Retrieved November 12, 2012, from http://www.ohloh.net/p/apache
- Chapter 4. The Apache HTTP Server. (n.d.). Fedora Documentation. Retrieved November 12, 2012, from http://docs.fedoraproject.org/en-US/Fedora/13/html/Managing_Confined_Services/chap-Managing_Confined_Services-The_Apache_HTTP_Server.html