Forum Discussion
NewTOF501_15047
Nimbostratus
Apr 10, 2014irule which check if uri contains services
I need a irule which check if uri contains services like http://domain.name.com/services" or "oservices" then send traffic to service_pool or oservice_pool but before that it should change uri to /wp...
Jibin_43310
Mar 16, 2017Historic F5 Account
Change to the following:
when HTTP_REQUEST {
if {{ [HTTP::uri] contains "MAXPROD" } || { [HTTPS::uri] contains "MAXPROD" }} {
pool WWW_Maximo_pool
} else {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}
Same to HTTPS_REQUEST
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