Forum Discussion
cymru81
Altocumulus
Jun 09, 2017iis 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?
- Samir_Jha_52506
Noctilucent
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]" }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects