replaced hosts with a local-uris-only alternative