Add support for legacy sites still using RewriteMap