Forum Discussion
Chadwick_McInni
Nimbostratus
Jul 16, 2008BIG-IP as proxy
I'd like the BIG-IP to determine if an HTTP GET should go to our web proxy or not. I'd like the BIG-IP to examine [HTTP::host] in an HTTP_REQUEST, and if [HTTP::host] does NOT contain "mydomain" then...
Chadwick_McInni
Nimbostratus
Jul 22, 2008I've found a working solution with this iRule:
when HTTP_REQUEST {
if { not ([string tolower [HTTP::host]] contains "mydomain")} {
pool webproxy
} else {
[virtual name] vs_0_0_0_0_any
}
}
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