Forum Discussion
Jace_45978
Nimbostratus
Jun 19, 2009CSS to F5 iRule redirect to pool question.
have a CSS that we are moving away from and going to F5 v9.4.7
The CSS has two VIPs same IP and port one is a default url "*" goes to server A and the other is url "/battery/*" goes to service ...
hoolio
Cirrostratus
Jun 22, 2009"/battery/*" would match a path starting with /battery/, so you could use [HTTP::path] starts_with "/battery/" for the same functionality. If the web app is not case sensitive, you could set the path to lowercase before checking that it starts with /battery/ as jquinby suggested.
If you're on 9.4.0 or higher, you could also use an HTTP class instead of an iRule to filter requests based on URI to a specific pool.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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