Not the path here, but the entire URL. BASE_URL should really be BASE_URL_PATH.