changed RedirectHandler to respond with status code 301