configure redirect file