Forum Discussion

kashif_shahzad's avatar
kashif_shahzad
Icon for Nimbostratus rankNimbostratus
Nov 25, 2022
Solved

HTTPS to HTTP

hi, i have a situation where i have to redirect incoming traffic on https to http as the old applications does not support https yet. i have tried to create 2 VS one http and one https and tried to...
  • Hi kashif_shahzad , 
    > Create a https virtual servers and do not assign any pool to it. 
    > use this iRule inside the Https virtual server. 

    when HTTP_REQUEST {
           HTTP::redirect http://[getfield [HTTP::host] ":" 1][HTTP::uri]
        }

    > Create another Http (port 80) virtual server and assign the required pool to it.

    > Browse your https://url , and track your redirection. 
    it works with me 
    Look at these snap shots : 

     

    Regards