The Apache Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server.
Originally designed as a replacement for the NCSA HTTP Server, Apache has grown to be one of the most popular web servers on the Internet. It’s extensible through a dynamically loadable module system and can process a large number of interpreted languages without connecting out to separate software.
Apache supports a variety of features, many implemented as compiled modules which extend the core functionality
Key Features
- Virtual hosting which allows one Apache installation to serve many different actual websites.
- Loadable Dynamic Modules.
- Multiple Request Processing modes (MPMs) including Event-based/Async, Threaded and Prefork.
- Highly scalable (easily handles more than 10,000 simultaneous connections).
- Configurable error messages.
- DBMS-based authentication databases.
- Content negotiation.
- Supported by several graphical user interfaces (GUIs) which permit easier configuration of the server. Many features implemented as compiled modules, ranging from server-side programming language support to authentication schemes.
- Common language interfaces support include mod_perl, mod_python, Tcl, and PHP.
- Popular authentication modules include mod_access, mod_auth, and mod_digest.
- SSL and TLS support (mod_ssl).
- Proxy module.
- Reverse proxy with caching:
- Load balancing with in-band health checks.
- Multiple load balancing mechanisms.
- Fault tolerance and Failover with automatic recovery.
- WebSocket, FastCGI, SCGI, AJP and uWSGI support with caching.
- Caching features to improve the performance:
- Three-state RFC2616 HTTP caching – mod_cache and its provider modules mod_cache_disk provide intelligent, HTTP-aware caching. The content itself is stored in the cache, and mod_cache aims to honor all of the various HTTP headers and options that control the cacheability of content.
- Two-state key/value shared object caching – the shared object cache API (socache) and its provider modules provide a server wide key/value based shared object cache. These modules are designed to cache low level data such as SSL sessions and authentication credentials. Backends allow the data to be stored server wide in shared memory, or datacenter wide in a cache such as memcache or distcache.
- Specialized file caching – mod_file_cache offers the ability to pre-load files into memory on server startup, and can improve access times and save file handles on files that are accessed often, as there is no need to go to disk on each request.
- URL rewriting (also known as a rewrite engine, implemented under mod_rewrite).
- IPv6-compatible.
- HTTP/2 support.
- Custom logging with rotation
- Concurrent connection limiting
- Request processing rate limiting
- Bandwidth throttling
- Server Side Includes.
- IP address-based geolocation.
- User and Session tracking.
- WebDAV – Web Distributed Authoring and Versioning is an extension of the Hypertext Transfer Protocol (HTTP) that allows clients to perform remote Web content authoring operations.
- Popular compression methods on Apache include the external extension module, mod_gzip, implemented to help with reduction of the size of web pages.
- Custom log files (mod_log_config).
- Filtering support (mod_include and mod_ext_filter).
- Handling of static files, index files, auto-indexing and content negotiation.
- XML support.
- Embedded Perl, PHP and Lua scripting.
- Real-time status views.
Website: httpd.apache.org
Support: Wiki, Documentation
Developer: Apache Software Foundation
License: Apache License 2.0
Apache is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Web Servers | |
|---|---|
| nginx | Very powerful and efficient web server powering the top web sites |
| Apache | Like nginx, Apache is a hugely popular web server |
| Caddy | Powerful, enterprise-ready web server written in Go |
| Lwan | Experimental, scalable, high performance HTTP server |
| H2O | Optimized HTTP/1.x, HTTP/2, HTTP/3 server |
| Tengine | Distribution of nginx |
| lighttpd | Fast, compliant and very flexible low memory footprint web server |
| Ferron | Web server optimized for speed, security and efficiency |
| Angie | Scalable web server that was forked from nginx |
| Algernon | Small self-contained pure-Go web server |
| Node.js | Server-side JavaScript environment for network applications |
| Hiawatha | Web server that focuses on security |
| OpenLiteSpeed | Lightweight HTTP server |
| rwasa | Full-featured high performance web server |
| devd | Local web server for developers |
| Cherokee | Fast, flexible and embeddable web server |
Read our verdict in the software roundup.
| Web Caches | |
|---|---|
| Varnish Cache | Web accelerator written with performance and flexibility in mind |
| nginx | Very powerful and efficient web server and reverse proxy |
| Traffic Server | High-performance building block for cloud services |
| Memcached | Distributed memory object caching system |
| Squid | High-performance proxy caching server and web cache daemon |
| nuster | High-performance HTTP proxy cache server |
| Apache | Hugely popular web server with caching modules |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

