Apache Server

Host websites and web applications with Apache HTTP Server, an open-source web server for Linux. Its modules, virtual hosts, and directory-level configuration support flexible hosting, PHP integration, HTTPS, and reverse proxying.
4.5
Download232.3k downloadsActiveSelect a version to download a specific release.

About Apache Server2.4.70

Last updated on

Apache HTTP Server, often called Apache or httpd, is an open-source web server for hosting websites and delivering web content. It serves files directly and can pass requests to application servers, making it useful for Linux administrators running anything from a single site to several domains on one machine.

Its defining strength is configurable behavior at both server and directory level. Loadable modules add capabilities as needed, while virtual hosts give each website its own settings. Apache is particularly worth considering when an existing application depends on its configuration directives or .htaccess rules.

Hosting and application features

  • Multiple websites: Name-based virtual hosts let several domains share an IP address, with separate document roots and configuration for each site.
  • HTTPS connections: mod_ssl provides TLS support. Administrators configure certificates and encryption settings for the sites they host.
  • URL rewriting: mod_rewrite supports redirects and rules that map public URLs to application resources, useful when maintaining an application's existing URL structure.
  • Dynamic applications: Apache can forward FastCGI requests to a separately managed application process such as PHP-FPM. Apache handles HTTP requests; the application runtime executes the code.
  • Reverse proxying and load balancing: mod_proxy and related modules route requests to backend services and can distribute them across multiple application instances. The required protocol and balancing modules must be enabled and configured.
  • Compression and access control: mod_deflate can compress responses before transmission, while authentication and authorization modules restrict access to selected resources.

These capabilities let Apache serve static assets alongside dynamic applications. A database such as MySQL may form part of the application stack, but it is a separate component rather than a requirement for serving files.

Using Apache on Linux

Distribution packages are usually the practical starting point. For more control over enabled modules and installation paths, you can compile Apache from source using ./configure, followed by make and make install. You will need build tools and dependencies including APR and APR-Util, available through your distribution's development packages or as source downloads from the Apache APR project.

Configuration uses text files. Apache also supports per-directory .htaccess files when the administrator permits overrides. This allows a site maintainer to change selected settings without editing the main server configuration, a useful arrangement on shared hosting.

That convenience has a cost. Apache's documentation recommends the main configuration files when you have access to them: enabling .htaccess checks adds filesystem lookups, and delegated configuration requires careful limits on permitted directives. See the official .htaccess guide for the trade-offs.

Building from source offers control over the installation and enabled modules, but requires build tools and dependencies including APR and APR-Util. It also leaves you responsible for maintaining that installation. The upstream installation guide distinguishes source builds from distribution packages.

Strengths and things to consider

Apache fits administrators who need virtual hosts, detailed access rules, or compatibility with existing Apache configurations. Its module system lets one server combine file hosting, application integration, and proxy duties. That flexibility also means the enabled modules, application processes, and configuration need to be managed together.

Access and error logs help with troubleshooting and traffic analysis. A separate analytics tool is needed for reporting beyond what the logs provide.

NGINX is another option for serving files and proxying application traffic. Caddy is worth considering when automatic certificate provisioning and renewal are priorities. Choose Apache when its module support and directory-level configuration solve a specific hosting need, and plan to maintain the configuration as carefully as the application behind it.

Supported platforms

Latest version

2.4.70Latest
  • https://dlcdn.apache.org/httpd/httpd-2.4.70.tar.gz
  • Maintenance release fixing mod_authnz_ldap crashes reported on Windows in 2.4.69, an integer overflow in mod_substitute, incorrect caching of responses with Vary: *, and a heap buffer overflow in mod_dav_lock. Also increases mod_cgid limits for environment variables, URIs, and arguments.
  • Official release notes: https://dlcdn.apache.org/httpd/CHANGES_2.4.70
  • Release announcement: https://downloads.apache.org/httpd/Announcement2.4.html

Rate this app

4.5 out of 5 · 74 ratings

Comments

4 comments
Anonymous

Apache 2.0.44 Is the _milestone_, go and get it!

It has been almost a year, and now Apache 2.x.x has replaced Apache 1.3.27 to serve my web sites. I use php extensively and the 2.0.44 - PHP 4.3.0 combo really rocks! Nice job to the developers. Thanks Sander and the developers gang for this particular build!

Anonymous

Apache and this site

Nice site. Apache Server is the fastest growing web server way ahead of the windows revolution because it's a lot cheaper, runs on a lower spec machine and doesn't crash every day. This site looks good, I guess it is run using php which is amazingly versatile for a few lines of code. Unfortunately, the general public need a little education about the virtues of using a non-window-y platform and the advantages. Hope this site does well, as it deserves too, once found. best, kev

Anonymous

Great server

APACHE server is simply great !!!

Anonymous

Apache

Apache is a very good serving system for http. In the beggining if you don't know much about configuring and switching files or editing files... you WILL have complications. Apache is indeed a very good server you can customize it to your own needs, and its pretty secure depending on the OS that your using.

Comments appear after an editor approves them.

License

BSD type

Latest version

2.4.70

Total downloads

232.26k

Author

Apache Software Foundation
Report incorrect information

Recently updated software