cymru81
Jun 09, 2017Altocumulus
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?
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?
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]"
}