Rewrite
mod_rewrite uses regular expressions to match on a pattern and rewrite incoming URLs to a new URL location.
Using mod_rewrite from within .htaccess
If you use RewriteRule
from within an .htaccess
files, you must
use the RewriteBase
directive.
See: http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase