Render 404 response if the server is configured to use a prefix but the
request url doesn't match it.