Using mod_rewrite to control access This document supplements the mod_rewrite reference documentation. It describes how you can use mod_rewrite to control access to various resources, and other related techniques. This includes many examples of common uses of mod_rewrite, including detailed descriptions of how each works. Note that many of these examples won't work unchanged in your particular server configuration, so it's important that you understand them, rather than merely cutting and past