This topic describes the two contexts in which RewriteRule can be used. In examples omitting RewriteEngine on, it is assumed this directive has occured before that example.
RewriteRule
RewriteEngine on