Forum Discussion
HarshadS
Sep 15, 2021Altostratus
help with irule string match
Hi, How can I parse an HTTP URL to then send https://www.example.com/foo/index.html to pool A and https://www.example.com/bar/index.html to pool B? Basically I need to parse the first part of the ...
- Sep 15, 2021
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/foo/*" { pool poolA }
"/bar/*" { pool poolB }
default { pool pool_default }
}
}
xuwen
Sep 15, 2021Cumulonimbus
when HTTP_REQUEST {
switch -glob [HTTP::uri] {
"/foo/*" { pool poolA }
"/bar/*" { pool poolB }
default { pool pool_default }
}
}
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