Forum Discussion
Oct 23, 2018
The simplest way:
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "www.site1.com.br" } {
HTTP::redirect "https://site1.com.br[HTTP::uri]"
}
}
You can use other ways to do the same -> https://devcentral.f5.com/questions/simple-url-redirect-irule
KR, Dario.