Why separate the url and path?  It looks like they're mashed back together for both the metadata requests and for the tile requests.