dry out a variable used in both proxy and redirect requests