url_prefix and host header fix