Make sure that wms urls end in "/wms" and tms urls end in "/hot/1.0.0/"