Forum Discussion
Mark_Cloutier
Nimbostratus
Aug 16, 2013Rewriting URI for load balancing domino servers
I load balance two pools of domino servers, one for users in Mail1 and one for users in Mail2. First request to the virtual server (mail.domain.com for exmaple) can go to any of the domino servers f...
Michael_Yates
Nimbostratus
Aug 16, 2013Hi Mark,
I agree that Nathan's suggestion of using string range will work, but will require you to count the characters that you want to remove.
If you are looking for something easier I would suggest "string map". Something like this:
"HTTP::uri [string map {"/mail1" "" "/mail2" ""} [HTTP::uri]]"
You've got lots of options :-)
nathe
Cirrocumulus
Aug 16, 2013Thanks Michael - the daft thing is I use string map in one of my irules at work!!! More haste, less speed in responding I think.
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