Forum Discussion
amalhotra_6478
Nimbostratus
Nov 11, 2015irule help for uri redirection
Hello Need some help on building an irule, very new to irules.
http://soft.abc.com/expo - would redirect the request to Expo server on a certain port (say 2000)
http://soft.abc.com/granite - wou...
amalhotra_6478
Nimbostratus
Nov 11, 2015This is second one I build so far Please advise if any corrections or better options on it.
when HTTP_REQUEST {
if {[HTTP::uri] contains "/expo" } { pool granite_pool port 2000 }
if {[HTTP::uri] contains "/granite" } { pool granite_pool port 4000 }
if {[HTTP::uri] contains "/csg" } { pool csg_pool port 5000 }
}
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