[gh-491] Use a RewriteMap instead of RewriteRules when setting up new subsites.
Right now we have hundreds if not a couple thousand RewriteRules in our htaccess file to support subsites. I believe we can move all of these to a RewriteMap file to speed things up considerably.