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...
hoolio
Cirrostratus
Jul 16, 2008Hi Chad,
You can check if the requested host doesn't contain mydomain:
when HTTP_REQUEST {
log "http host is [HTTP::host]"
if { not ([string tolower [HTTP::host]] contains "mydomain")} {
pool bigproxy
}
}
Aaron
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