I've searched the forum and google and there appears to be conflicting answers.
When creating Virtual Host Templates, one uses variables that allow the templates to adapt dynamically ($VH_ROOT, $VH_NAME, $VH_DOMAIN, etc).
I cannot get these variables to work inside the Rewrite Rules; however...