13
votes

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

4 Answers 4

6
votes

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

2
  • 1
    Clicked on this question with the intent of posting that link. Great resource. Aug 4, 2010 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, 2010 at 3:50
1
vote

Here is my favourite one:

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