Apache
Apache HTTP Server documentation
✓ Reviewed by STB Editorial Team · Updated Nov 29, 2026
About this tool
Overview — The Apache HTTP Server (httpd) is one of the oldest and most widely deployed open-source web servers. It serves static and dynamic content, hosts multiple sites on one machine through virtual hosts, and extends its behaviour with modules. The official site is the source of truth for downloads, the module index and the configuration reference.
Why we listed it — A huge share of the web still runs on Apache, and most shared hosting panels assume it. When something breaks — a rewrite rule, a 403, a PHP module missing — the answer is almost always in the official docs or the module list. We include it as the canonical reference for anyone configuring an apache web server, writing an .htaccess file, or weighing apache vs nginx.
What it can do
- Serve static sites and proxy or execute dynamic backends via modules.
- Host many sites on one server using name-based or IP-based virtual hosts.
- Rewrite and redirect URLs with
mod_rewriteand.htaccess. - Enforce access control, authentication and directory restrictions.
- Log requests in detail and load only the modules you need.
Who it is useful for — Developers on shared hosting who only have .htaccess access; sysadmins running httpd on a VPS; and anyone migrating rules from another server. If you are choosing a server, the official docs also help you compare apache vs nginx on features and memory use rather than opinion.
Pitfalls to watch
.htaccessis only honoured whenAllowOverrideis enabled — otherwise rules silently do nothing.- Module names and contexts are strict; a wrong line stops the config from loading.
- Per-request
.htaccessscanning costs performance; prefer central config on a VPS. - Rewrite rules are easy to get subtly wrong — test with
apachectl configtestbefore reload. - Directory permissions and the default config can block access in non-obvious ways.
Bottom line — Apache is flexible and everywhere, and the official docs are the fastest way to a correct config. Test every change, keep modules minimal, and reach for central config over .htaccess when you control the server.