redirection and raw html mode