get base path from uriInfo