use context path, but replace the context part with baseUrl