Before diving into the cheat sheet, its important to know how RewriteRules work (order of processing and whatnot). I’ve prettied up the image from Apache.org as pictures tell 1,000 words (click for a larger version):

 

http://borkweb.com/story/apache-rewrite-cheatsheet

  • apache
  • htaccess
  • mod-rewrite
  • rewrite-rule