Forum Discussion
F5_LB_Eng
Cirrostratus
May 20, 2011Want to Merge 2 irule into one
got the answer
richard_77048
Nimbostratus
May 20, 2011This seems pretty straight forward. Are you having trouble making it work?
If the individual rules work, then this should work.
when HTTP_REQUEST {
if { [HTTP::host] contains "abcscommercial-dev.fs-nafta.india.com" } {
HTTP::redirect https://dfindia-dev.fs-nafta.india.com/inet/en/mbsprinter/common/home.do
}
elseif { [HTTP::host] contains "abccommercial-dev.fs-nafta.india.com" } {
HTTP::redirect https://dfindia-dev.fs-nafta.india.com/inet/en/mbsprinter/common/home.do
}
else {
HTTP::redirect https://www.dfindia-dev.fs-nafta.india.com[HTTP::uri]
}
}
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
