Forum Discussion
Srini_87152
Cirrostratus
Nov 26, 2014Route the traffic to specific context path on back end server
Hi All,
There is request to route traffic specific context path on server side..like example below.
http://abc.com/ --> NodeA:8080/origin.tool
Im not sure if this possible with any iRule?please help me out if any one aware the rule.
1 Reply
- R_Marc
Nimbostratus
Yes.
when HTTP_REQUEST { switch -glob [HTTP::uri] { "/" { set HTTP::uri "/original.tool" node $IP $port } default { something else.... } } }This assumes you've set IP and port to some values. There are probably better ways to format that switch.
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