switch between virtual host and path-based access for dns and non-dns compliant bucket names