Forum Discussion
Sabir_Alvi
Mar 08, 2018Altocumulus
iRule with host and uri match condition
I need an iRule that should check host and uri combination and redirect to appropriate pool. Below is what I have but its not working.
when HTTP_REQUEST {
set pool [class match -value -- [HTTP::...
Stanislas_Piro2
Mar 08, 2018Cumulonimbus
You must remove wildcards in datagroup keys are they are interpreted as the * character and not a wildcard.
Then, change condition in class match
set pool [class match -value -- [HTTP::host][HTTP::uri] starts_with test_url_attachment]
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