Menu
  • About
  • Archives
Search

STACK::Source

Sharing the source byte by byte

1 June 2022

.htaccess Cheat Sheet

Quick tips for common .htaccess rules.
No lengthy descriptions, just a bunch of handy code snippets.

Generic wrapper that goes around rewrite rules
Apache
1
2
3
4
<IfModule mod_rewrite.c
… Continue reading “.htaccess Cheat Sheet”
Category: .htaccess, mod_rewrite | LEAVE A COMMENT
git repos
In addition to the code shared on the pages of this site we have a git repo for some of our lager projects located here:
git.stack-source.com
About this website

A random collection of tips techniques and code for configuring LAMP servers. Written by yours truly Matthew Saunders Brown.

Matthew Saunders Brown

Sponsored by

  • STACK as a Service

Recent Posts
  • Upgrading Mastodon from v4.0.2 to v4.1.0
  • Customizing Apache default access log
  • .htaccess Cheat Sheet

Archives

  • February 2023
  • September 2022
  • June 2022
  • January 2021
  • May 2020
  • February 2020
  • January 2020

Categories

  • .htaccess
  • Apache
  • Bash
  • Let's Encrypt
  • Linode
  • Mastodon
  • mod_rewrite
  • PowerDNS
  • Uncategorized
Creative Commons License
Except where otherwise noted, the content on this site is licensed under a Creative Commons Attribution 4.0 International License.