The virtual host context is a part of the static configuration file between <VirtualHost> and </VirtualHost> tags.
RewriteRule's in virtual host context match against the part of an url after the protocol, hostname and port, and before the query string.
When the following rule is used ...