The great thing about mod_rewrite is it gives you all the
configurability and flexibility of Sendmail. The downside to
mod_rewrite is that it gives you all the configurability and
flexibility of Sendmail.
-- Brian Behlendorf
Despite the tons of examples and docs, mod_rewrite is voodoo.
Damned cool voodoo, but still voodoo.
-- Brian Moore
mod_rewrite provides a way to modify incoming
URL requests, dynamically, based on regular
expression rules. This allows you to map arbitrary URLs onto
your internal URL structure in any way you like.
This guide supplements the
reference manual with annotated examples, conceptual
explanations, and practical advice. It is organized as follows:
The key differences between using rewrite rules in server
configuration versus per-directory
context, including path stripping, RewriteBase, and the looping behavior
of the [L] flag.