[Apache URL Rewriting Guide][1]
This document supplements the original mod_rewrite reference documentation from the Apache Group which can be found on http://www.apache.org/docs/mod/mod_rewrite.html. It describes how one can use Apache’s mod_rewrite to solve typical URL-based problems webmasters are usually confronted with in practice. I give detailed descriptions on how to solve each problem by configuring URL rewriting rulesets.
Especially, see http://www.engelschall.com/pw/apache/rewriteguide/#ToC33