Forum Discussion

sysadmin_2015_2's avatar
sysadmin_2015_2
Icon for Nimbostratus rankNimbostratus
Dec 03, 2015

iRule - https redirect - Google rating

Hello,   One of our sites has two virtual servers, one for port 80 and another for 443. The port 80 virtual server currently has a https redirect iRule attached sending all port 80 traffic to 443...
  • Lee_Payne_53457's avatar
    Dec 03, 2015

    You could use the HTTP::respond command to do this.

     

    when HTTP_REQUEST { HTTP::respond 301 "Location" "[HTTP::host][HTTP::uri]" }