Forum Discussion
raj_Kumar_19166
Nimbostratus
Feb 09, 2016we have 3 external web urls which will come on our frontend f5 and redirect to internal web urls and use as a revers proxy
we have 3 external web urls which will come on our frontend f5
and redirect to internal web urls and use as a revers proxy
https://site3Ex.com
should redirect to
http://site3In.c...
raj_Kumar_19166
Nimbostratus
Feb 10, 2016Hello, Kevin good afternoon.
I have prepared iRule below, could you please verify will work or not?
when HTTP_REQUEST { if {[string tolower [HTTP::host]] equals "site1ex.com"} { HTTP::redirect "http://site1in.com" }
elseif {[string tolower [HTTP::host]] equals "site2ex.com"} {
HTTP::redirect "http://site2in.com"
}
elseif { [string tolower [HTTP::host]] equals "site3ex.com"} {
HTTP::redirect "http://site3in.com"
}
}
i am not sure but i hope it should also work as its if condition only.
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