Forum Discussion
Yogeshwar
Nimbostratus
Jul 01, 2019irule help
Hi have a request for the follwing Please implement below rules for the following on http and https on xxx.yyy.com https://xxx.yyy.com/ https://xxx.yyy.com/ if url containls "12_SERVICE=FILE...
Andrew-F5
Employee
Jul 02, 2019when HTTP_REQUEST {
if {[HTTP::uri] contains "12_SERVICE=FILE_URLS" || [HTTP::uri] contains "12_SERVICE=FILE_URLS2"}{
pool $pool1
}
pool $pool2
}
Update $pool1 to the name of your pool containing xxx2.yyy.com:10025 and $pool2 to the pool containing xxx1yyy.com:10002
xxx2yyy.com:10002
xxx1yyy.com:10056
Remove the money sign ($) when modifying the name. There is no distinction for HTTP/HTTPS since that depends on the virtual server that you are applying the iRule to. This iRule will work on a port 80 or 443 virtual server.
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