Forum Discussion
Hans_Schneider2
Nimbostratus
Jul 10, 2007Rewriting /aaa to /bbb and assigning pool transparently
Hi All,
I have a virtual server set up that I wish to add an irule for.
Basically the start of the uri will be used to choose the actual context on the actual servers in the pools. ...
Hans_Schneider2
Nimbostratus
Jul 10, 2007Excelent stuff man! Thanks a lot! I appreciate your help.
Just stuck at the moment now with rewriting the url back from xx.xx.xx.xx/111/TheRest to /aaa/TheRest
In answer to your question, yes, it is only the first occurance of /aaa, which led me to use the if elseif instead of the switch (which, you are absolutely correct in saying is the more efficient way).
After collecting the HTTP::payload in the log file, I couldn't see anything referencing the uri... Also attempts to log out the HTTP::uri didn't work in the HTTP_RESPONSE or HTTP_RESPONSE_DATA contexts.
Hmmm...
I do have the stream profile available, so tomorrow morning I'll be looking into that.
I'll let you know how I get on.
Thanks a lot again.
Best regards,
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