Useful .htaccess Snippets
Snippets for Apache .htaccess files covering redirects and rewrites, security, performance and other server settings.
Useful .htaccess Snippets is the awesome list phanan/htaccess, kept by phanan on GitHub. It names 8 items in 8 sections. It has 13,206 stars on GitHub and its last push was on . Its largest sections are Rewrite and Redirection (4), Miscellaneous (2), Security (1). Most of its repositories are written in Shell. Read the original on GitHub ↗ · Suggest a change
Rewrite and Redirection #
Remove Trailing Slash 1 #
- Source stackoverflow.com
Redirect a Single Page 1 #
- Source css-tricks.com
Redirect Using RedirectMatch 1 #
- Source askapache.com
Alias “Clean” URLs 1 #
- Source abeautifulsite.net
Security #
Deny Access to Backup and Source Files 1 #
- Source h5bp · ★ 3,247
Performance #
Compress Text Files 1 #
- Source h5bp · ★ 3,247
Miscellaneous #
Allow Cross-Domain Fonts 1 #
- Source github.com
Auto UTF-8 Encode 1 #
- Source h5bp · ★ 3,247
More in Back-End Development
- Docker veggiemonk/awesome-docker
Projects and learning material around Docker containers: tools for building, running, networking, monitoring and securing them.
403 items · ★ 37,315
- Kubernetes ramitsurana/awesome-kubernetes
Projects, tools and reading about Kubernetes, the system for running and managing containers across many machines.
not read yet · ★ 16,148
- Laravel chiraggude/awesome-laravel
Packages, hosting and deployment options, tutorials, books, podcasts and starter projects for Laravel, a PHP web framework.
410 items · ★ 13,141 · updated 2024 quiet
- FastAPI mjhea0/awesome-fastapi
Extensions, tutorials, hosting options and example projects for FastAPI, a Python framework for building web APIs.
201 items · ★ 11,800
- Terraform shuaibiyy/awesome-tf
Modules, providers, registries, testing tools, tutorials and books for Terraform, which describes infrastructure as code.
483 items · ★ 6,689
- Rails gramantin/awesome-rails
Learning resources, open source applications, gems and starter templates for Ruby on Rails, the Ruby web framework.
413 items · ★ 3,941
- nginx fcambus/nginx-resources
Articles, tutorials and talks on configuring, securing and extending the nginx web server, including Lua and OpenResty.
92 items · ★ 3,872
- Gems hothero/awesome-rails-gem
Ruby gems for Rails applications, grouped by job: authentication, Active Record, uploads, background jobs, admin panels and testing.
144 items · ★ 2,805 · updated 2024 quiet
About this list
- Stars
- 13,206
- Last push
- Licence
- NOASSERTION
- Entries
- 8 items in 8 sections
- Named by
- 2 other lists
- Markdown
- phanan/htaccess.md
This page is an index of Useful .htaccess Snippets, a list kept by phanan and its contributors at github.com/phanan/htaccess. The selection and order are theirs; the summary above is ours. Read at commit 72179f9 on . Licence: NOASSERTION.