13
votes

What are resources for learning the various things I can do with .htaccess?

6
votes

Stupid htaccess tricks, despite the name and colour scheme it's not stupid.

  • 1
    Clicked on this question with the intent of posting that link. Great resource. – Travis Northcutt Aug 4 '10 at 16:20
  • But whatever you do, don't use the snippet to "limit server request methods to GET and PUT". The HEAD verb is Critical to cacheability. – JasonBirch Aug 7 '10 at 3:50
1
vote

Here is my favourite one:

Make sure you read part two as well that covers mod_rewrite: