Forum Discussion
Dinesh_22825
Nimbostratus
Apr 09, 2014extract number from URI,redirect to pool base on that number
write an irule to extract a number from URL and assign it to variable and redirect it a pool based on that value.
Dinesh_22825
Nimbostratus
Apr 16, 2014Hi John,
I figured it out. I did something like this :
set host [HTTP::host] set pattern {[^a-zA-Z][\d\a]} set match [regexp -all -inline $pattern $host] log $match
And I am able to get the first two digit number out of the it!
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