Fix /~~server/ URIs