awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
phanan avatar

phanan/htaccess

0
View on GitHub↗
13,165 stars·1,292 forks·16 views

Htaccess

This project is a comprehensive library of reusable configuration patterns for the Apache web server. It provides a collection of server-side directives designed to manage security, performance, and request routing through decentralized configuration files.

The repository serves as a reference for implementing server-level settings without requiring global restarts. It includes specialized patterns for enforcing secure connections, managing cross-origin resource sharing, and protecting sensitive system files from public exposure. Users can leverage these snippets to implement clickjacking protection, configure custom error pages, and define access restrictions based on IP addresses or user agents.

Beyond security, the library covers traffic management and asset optimization. It provides rules for URL canonicalization, clean URL rewriting, and browser caching strategies to improve site performance. The collection also includes directives for automated media format delivery and MIME type mapping to ensure consistent asset handling across different browser environments.

Features

  • Awesome List - A community-curated directory that catalogs and links out to other open-source projects, rather than a standalone tool you run yourself.
  • Server Configuration - Provides a comprehensive collection of configuration snippets for managing Apache server settings and request handling.
  • HTTP Server Directives - Implements decentralized server-level directives for controlling request handling and performance without global restarts.
  • Access Restrictions - Implements server-level access control by filtering requests based on IP addresses, user agents, or referrer domains.
  • HTTP Security Headers - Serves as a reference for implementing security headers to mitigate common web vulnerabilities.
  • Secure Connection Handlers - Enforces encrypted connections by redirecting insecure traffic to secure endpoints.
  • Security Headers - Applies security-focused HTTP response headers to mitigate common web vulnerabilities.
  • Web Security Hardening - Hardens web security by implementing HTTP headers and access restrictions against common vulnerabilities.
  • DevOps and Infrastructure - Collection of configuration snippets for web server optimization.
  • Infrastructure and Automation - Configuration resources for Apache web server files.
  • Back End Development - Listed in the “Back End Development” section of the Awesome awesome list.
  • Developer Tools - .htaccess configuration snippets.
  • URL Management - Manages website traffic through URL redirects, canonical domain enforcement, and clean URL structures.
  • Clickjacking Protections - Provides configuration patterns to prevent web pages from being rendered within unauthorized frames or iframes.
  • Cross-Origin Resource Sharing Policies - Defines security policies for managing cross-origin resource sharing and asset loading permissions.
  • Administrative Interface Access Controls - Restricts directory access and protects sensitive system files through server-level configuration rules.
  • Sensitive File Protections - Blocks public access to hidden files, configuration files, and source code backups.
  • Clean URL Rewriting - Maps user-friendly, extensionless URLs to underlying script files to improve readability.
  • Directory Authentication - Enforces credential-based access requirements for specific directories or sensitive files on the server.
  • Access Control - Enforces access control policies by evaluating request metadata like IP addresses and user agents.
  • Security Header Injections - Appends security and caching instructions to HTTP responses to enforce browser-side policies.
  • Static Asset Optimization Pipelines - Optimizes website performance by configuring browser caching and expiration headers for static assets.
  • Caching Header Optimizers - Configures cache control and expiration headers to optimize browser-side asset storage.
  • Canonical Domain Enforcements - Redirects traffic between www and non-www versions of a domain to ensure consistent URL structures.
  • URL Normalization Utilities - Standardizes request paths by enforcing consistent URL formatting and removing trailing slashes.
  • URL Redirections - Forwards requests for specific pages or directories to new locations while preserving path structures.
  • Declarative Traffic Rules - Provides structured rule sets for transforming request URIs into internal resource locations via Apache rewrite directives.
  • Directory Browsing Controls - Prevents the server from listing directory contents to hide internal file structures.
  • Regex-Based URL Dispatchers - Maps incoming URL patterns to internal file paths using regular expression matching logic.

Star history

Star history chart for phanan/htaccessStar history chart for phanan/htaccess

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does phanan/htaccess do?

This project is a comprehensive library of reusable configuration patterns for the Apache web server. It provides a collection of server-side directives designed to manage security, performance, and request routing through decentralized configuration files.

What are the main features of phanan/htaccess?

The main features of phanan/htaccess are: Awesome List, Server Configuration, HTTP Server Directives, Access Restrictions, HTTP Security Headers, Secure Connection Handlers, Security Headers, Web Security Hardening.

What are some open-source alternatives to phanan/htaccess?

Open-source alternatives to phanan/htaccess include: ramitsurana/awesome-kubernetes — This project serves as a comprehensive knowledge base and directory for the container orchestration ecosystem. It… veggiemonk/awesome-docker — This project is a comprehensive, community-driven directory that serves as a centralized discovery hub for the… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… getgrav/grav — Grav is a flat-file content management system that eliminates the need for a traditional database by storing site… devopshivehq/awesome-kustomize — A curated and collaborative list of awesome Kustomize resources. stve/awesome-dropwizard — [ ][dropwizard].

Open-source alternatives to Htaccess

Similar open-source projects, ranked by how many features they share with Htaccess.
  • ramitsurana/awesome-kubernetesramitsurana avatar

    ramitsurana/awesome-kubernetes

    15,993View on GitHub↗

    This project serves as a comprehensive knowledge base and directory for the container orchestration ecosystem. It functions as a curated index of tools, tutorials, and technical documentation designed to assist developers and operators in managing, scaling, and maintaining containerized applications. The repository operates through community-driven content curation, maintaining a structured collection of resources within a version-controlled environment. It distinguishes itself by providing a vetted index that helps users locate specific utilities for infrastructure management and DevOps task

    Shellawsazurebooks
    View on GitHub↗15,993
  • veggiemonk/awesome-dockerveggiemonk avatar

    veggiemonk/awesome-docker

    36,229View on GitHub↗

    This project is a comprehensive, community-driven directory that serves as a centralized discovery hub for the container ecosystem. It functions as a structured knowledge base, aggregating a wide array of software tools, educational materials, and technical resources designed to assist developers and operators in mastering containerization technologies. The repository distinguishes itself through a meticulously organized taxonomy that maps the entire container lifecycle, from initial development and image building to orchestration, security, and infrastructure operations. By curating disparat

    awesomeawesome-listcontainer
    View on GitHub↗36,229
  • codeigniter4/codeigniter4codeigniter4 avatar

    codeigniter4/CodeIgniter4

    5,924View on GitHub↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    PHPcodeignitercodeigniter4framework-php
    View on GitHub↗5,924
  • getgrav/gravgetgrav avatar

    getgrav/grav

    15,395View on GitHub↗

    Grav is a flat-file content management system that eliminates the need for a traditional database by storing site content and configuration in human-readable Markdown and YAML files. Built as a modular PHP web framework, it uses a hierarchical page routing system where the physical directory structure directly determines the site's URL paths. The platform is distinguished by its event-driven plugin architecture and a command-line interface that prioritizes system administration, deployment, and maintenance tasks. It utilizes a blueprint-driven system to generate administrative forms from stru

    PHPcmscontentcontent-management
    View on GitHub↗15,395
See all 30 alternatives to Htaccess→