Apache HTTP Server, often just Apache or httpd, is an open-source web server maintained by the Apache Software Foundation. It serves static files and passes dynamic requests to application code through modules or proxies, and it has been used on a very large share of websites for many years.
Why it matters
Apache is common on shared hosting and in LAMP stacks, and many control panels assume it. Its module system adds features such as mod_rewrite for URL rewriting, mod_ssl for HTTPS and mod_headers for custom headers. It supports per-directory .htaccess files, letting users change settings without server access, at a small performance cost because files are checked on each request. Several processing models exist, including prefork, worker and event.
Example
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/example
RewriteEngine On
RewriteRule ^/old$ /new [R=301,L]
</VirtualHost>
Check syntax with apachectl configtest before reloading.
Common mistakes
- Setting
AllowOverride Noneand wondering why.htaccessrules are ignored. - Running too many prefork workers and exhausting memory under load.
- Leaving directory listing enabled with
Options Indexes.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.