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, 2015Checked some irules on Dev Centeral seems port will be required with Node, if I mention Pool port is not required as pool will be configured with a member listening on port. I think this shall work, will be great if someone has done a similar request earlier. Getting familiar with irules little bit.
when HTTP_REQUEST { if { [HTTP::uri] contains "/expo" } { pool pool_expo }
if { [HTTP::uri] contains "/granite" } { pool pool_granite }
if { [HTTP::uri] contains "/csg" } { pool pool_csg
} else { pool default_pool }
}
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