refactored rewrites and accesses for magento.local vhost