For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

cymru81's avatar
cymru81
Icon for Altocumulus rankAltocumulus
Jun 09, 2017

iis irule help

Hi we need to redirect all traffic (or multiple VIPs) coming into the our LTM to a static IIS Site. Is there a iRule which accepts a wildcard for the hostname, then redirects to a IP and Port?

 

1 Reply

  • You need to apply iRule on VIPs, where you wanted to redirect traffic to IIS Static Page.

    A very basic (host-agnostic) redirect iRule might look something like this (applied to the port 80 VIP):

        when HTTP_REQUEST {
            HTTP::redirect "https://www.def.123.com[HTTP::uri]"
            }