# h5bp/server-configs-apache

Apache HTTP server boilerplate configs

Repository: https://github.com/h5bp/server-configs-apache
Canonical: https://ross.abutalabs.com/products/server-configs-apache
Language: Shell
License: MIT
License Family: permissive
Topics: apache, httpd, httpd-configuration, config, standard, h5bp, best-practices, robust, htaccess
Last push: 2026-07-14T13:04:51+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 8, longevity 100
- inputs: {"age_days": 4786, "days_push": 50, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3248, forks 626 (observed 2026-08-28T04:07:51.901369+00:00)

## What it is
A collection of Apache HTTP Server configuration snippets from the HTML5 Boilerplate project that improve website performance, security, and correct content-type serving. It can be used via the main httpd.conf or as .htaccess files when server config access is unavailable.

## Use cases
- harden apache server security headers
- speed up my website with apache caching and compression
- serve files with correct mime types in apache
- best practice .htaccess file for shared hosting
- enable cross-origin resource access in apache
- baseline apache httpd.conf template

## When to choose
- you run Apache httpd and want battle-tested performance and security defaults
- you need a solid .htaccess for shared hosting without main config access
- you want H5BP-standard configs maintained by an active community

## When to avoid
- you use nginx, Caddy, or another non-Apache web server
- you need application-level configuration rather than server-level
- your host forbids custom Apache configs and .htaccess overrides

## Facets
- artifact type: learning-resource
- maturity: active
- function: security, caching, compression, configuration-management, developer-tools
- domain: web-development, self-hosted, performance, security
- platform: self-hosted, cross-platform
- tags: apache, httpd, htaccess, server-configs, h5bp, best-practices, boilerplate-configs, boilerplate, devops, linux, web-server

## Member repositories
- h5bp/server-configs-apache (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:51.901369+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:31:31.996168+00:00, confidence not recorded.
  - readme: https://github.com/h5bp/server-configs-apache (fetched 2026-08-28T04:07:51.901369+00:00, sha 822f68076495)
- Data as of 2026-08-30T08:39:29.467469+00:00.
