Forum Discussion
IRULES - URi Rewriting
Hi all !
We would like to use URL rewriting throught iRules with our BIGIP. I saw many topics about the subject, but I couldn't find what I was looking for.
The client will request : http://doc.test.com/base/id This VS has to be load balanced to :
http://doc1.test.com:8080/anotherbase/id & http://doc2.test.com:8080/anotherbase/id
So, the host will be changed, I guess throught the Pool configuration associated to the VS. And then the first part of the URi: "base" to "anotherbase". How can I keep the "id" part unchanged ?
Thanks a lot !
Regards,
Bruno
3 Replies
- JRahm
Admin
is this just rewritten on the back end, or should these changes be visible to the clients as well? - bruno_an_170742
Nimbostratus
Hi Jason, The clients will always see http://doc.test.com/base/id Thanks ! - Arie
Altostratus
On the back-end, are you able to access the resource without specifying the host? If you can you will not have to worry about the host and you can simply use the HTTP::uri command. You'll still have to manipulate the path and translate the port, of course.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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