phanan/htaccess resource
✂A collection of useful .htaccess snippets. observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 70
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4236
- days_rel: n/a
- days_push: 180
- n_releases_24m: 0
Adoption not part of the score
13181 stars · 1287 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A curated awesome-list collection of useful Apache .htaccess snippets covering redirects, security, caching, and more. It is reference documentation rather than runnable software, targeting Apache 2.4.
Use cases
- force https with htaccess
- redirect www to non-www in apache
- disable directory browsing htaccess
- block image hotlinking
- deny access to hidden files htaccess
- apache url rewrite snippets
When to choose
- you administer Apache sites without access to the main server config
- you need quick copy-paste rules for redirects or access control
- you want a curated reference of common .htaccess patterns
When to avoid
- you use nginx or another non-Apache web server
- you can edit the main Apache configuration, which is faster and simpler
- you need a tool that generates or validates configs automatically
Facets
learning-resource · maturity active
documentation security developer-tools web-development awesome-lists security self-hosted htaccess apache snippets awesome-list server-configuration devops web-server linux
1 source
- readme: https://github.com/phanan/htaccess · fetched 2026-08-28 · cc3621091828
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| phanan/htaccess | main | 64 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem