Forum

Howto redirect https to http?

Alex
21 June 2016, 16:01
Hi,

the subject says it all

Well, we know howto redirect to https with RequireTLS = yes
But how to do it the other way around?

Thanks in advance.
Hugo Leisink
21 June 2016, 21:28
Why would you want to do that?!? Anyway, you can do it via the UrlToolkit
UrlToolkit {
ToolkitID = https_to_http
UseSSL Skip 1
Do Return
Match ^/(.*) Redirect http://<hostname>/$1
}
Alex
21 June 2016, 22:20
Thank you Hugo, it works
Some parts of site no need encryption and sometimes will redirect to another hosting which not support https.
This topic has been closed.