Forum Discussion
A_tech_85188
Nimbostratus
May 01, 2008Pool Redirect
Hello All,
I need to setup an irule, but am newbie to irule's.
I need it to do this.
When someone puts in www.samplesite.com/sample1
it directs them to the sample...
A_tech_85188
Nimbostratus
May 07, 2008Hi,
No the portion of the URI will not always the same length. It could be pool_SAMPLE1, pool_NEWSAMPLE2, or pool_THISISANEWSAMPLE2.
Basically I am trying to get it to match whatever is typed after the slash at the end of the URI. We will make sure we name the pool the same as the subdomain (www.samplesite.com/sample1) a user will be typing in.
So will this set pool_string [string toupper [string range [HTTP::path] 1 7]] match the characters after the slash with the pool name? I am guessing that I would need to set the string range very hi to make sure it will catch all the characters and match them up?
Thanks for all your help on this.
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