Allow redirection, fix config