Forum Discussion
Brad_Parker
Jan 15, 2015Cirrus
when HTTP_REQUEST {
set my_loc "https://[HTTP::host][HTTP::uri]"
TCP::respond "HTTP/1.1 301 Moved Permanently\r\nLocation: $my_loc\r\nConnection: close\r\nContent-Length: 0\r\n\r\n"
TCP::close
}
- Siddiqui_182827May 24, 2015NimbostratusThanks Brad But i want to know the redirection between HTTPS:// to HTTPS://
- nitassMay 25, 2015Employeeyou just use https HTTP::redirect command. HTTP::redirect https://devcentral.f5.com/wiki/iRules.HTTP__redirect.ashx e.g. HTTP::redirect "https://www.google.com"