Forum Discussion
aaperson_255899
Nov 08, 2016Nimbostratus
LTM iRule to direct traffic
For an F5 10200 LTM running 12.1.0
Have an iRule redirecting all port 80 traffic to port 443 on VIP vip.abc.com. Need to make an exception to allow traffic to one IIS website to go through on p...
Vijay_E
Nov 08, 2016Cirrus
You would have to integrate this logic into the existing iRule, if any:
when HTTP_REQUEST {
if { [HTTP::host] eq "domain.com" } {
pool POOL_domain_80
} else {
HTTP::respond 301 Location "https://vip.abc.com"
}
}
POOL_domain_80 has pool members listening on port 80.
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