Apache HTTP Server

From The Hidden Wiki
Jump to navigationJump to search

Template:Infobox software

The Apache HTTP Server, colloquially called Apache (Template:IPAc-en Template:Respell), 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>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 Web sites.<ref name="100millionsites">Template:Cite web</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,<ref>OS/Linux Distributions using Apache</ref> the software is available for a wide variety of operating systems, including Unix, FreeBSD, Linux, Solaris, Novell NetWare, OS X, Microsoft Windows, OS/2, TPF, OpenVMS and eComStation. Released under the Apache License, Apache is open-source software.

Template:As of, Apache was estimated to serve 54.2% of all active Web sites and 53.3% of the top servers across all domains.<ref name="netcraft">Template:Cite web</ref><ref>sage of web servers for websites</ref><ref>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>Why Apache Has Held its #1 Spot.</ref><ref>Apache Server Definition. (n.d.). Module for hosting (mod_hosting) for apache 2 servers. Retrieved November 12, 2012</ref>

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), but this is erroneous.<ref>Template:Cite web</ref> Official documentation used to give this very explanation of the name,<ref>Template:Cite web</ref> but in a 2000 interview, Brian Behlendorf, one of the creators of Apache, set the record straight:<ref>Apache Power | Linux Magazine</ref>

Template:Quote

When Apache is running, its process name is 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.<ref>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</ref>

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.<ref>Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN</ref> 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.<ref>Apache MPM worker</ref> 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.<ref>Apache httpd 2.4</ref> However, some independent benchmarks show that it still half as fast as nginx.<ref>Apache 2.4 Faster Than Nginx?</ref><ref>Performance of Apache 2.4 with the event MPM compared to Nginx</ref>

Licensing

The Apache HTTP Server codebase was relicensed to the Apache 2.0 License (from the previous 1.1 license) in January 2004,<ref>Template:Cite web</ref> and Apache HTTP Server 1.3.31 and 2.0.49 were the first releases using the new license.<ref>Template:Cite newsgroup</ref>

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.<ref>Template:Cite mailing list</ref><ref>Template:Cite web</ref> Later it switched to nginx.<ref>OpenBSD Upgrade Guide: 5.1 to 5.2</ref><ref>OpenBSD Following -current</ref>

Development

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.<ref>Netcraft. (n.d.). About the Apache HTTP Server Project - The Apache HTTP Server Project. Welcome! - The Apache HTTP Server Project. Retrieved November 12, 2012</ref><ref>The Apache HTTP Server Open Source Project on Ohloh. (n.d.). Ohloh, the open source network. Retrieved November 12, 2012</ref><ref>Chapter 4. The Apache HTTP Server. (n.d.). Fedora Documentation. Retrieved November 12, 2012</ref>

See also

Template:Portal

References

1 }}
     | references-column-width 
     | references-column-count references-column-count-{{#if:1|30em}} }}
   | {{#if: 
     | references-column-width }} }}" style="{{#if: 30em
   | {{#iferror: {{#ifexpr: 30em > 1 }}
     | Template:Column-width
     | Template:Column-count }}
   | {{#if: 
     | Template:Column-width }} }} list-style-type: {{#switch: 
   | upper-alpha
   | upper-roman
   | lower-alpha
   | lower-greek
   | lower-roman = {{{group}}}
   | #default = decimal}};">
<references group=""></references>

External links

Template:Apache Template:Web server software Template:Web interfaces