Forum Discussion
Jayasudha_37840
Jan 30, 2019Nimbostratus
Creation of an irule
Hi,
I need to set up configuration as below:
URL -> Node
https://abc-group.com/backup ->
https://abc-group.com/loadbalancer ->
https://abc-group.com/operations ->
https://abc-gro...
Samir_Jha_52506
Jan 30, 2019Noctilucent
You can write iRule some thing like below.
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { [string tolower [HTTP::host]] equals "abc-group.com" } {
switch -glob $uri {
"/backup*" -
"/loadbalancer*" -
"/operations*" -
"/appliancehousing*" { HTTP::redirect "http://xyz:8089$uri" }
}
}
}
- Jayasudha_37840Jan 30, 2019Nimbostratus
Thank you...it worked out...
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