Forum Discussion
teguh_wilidarma
Nimbostratus
Feb 07, 2011iRule HTTP redirection - one server multiple instance
Hi, I was digging through this forum and found several similar cases like mine, but I am still very newbie on how iRule commands interact with VS and pool member selection. Moreover, I havent managed ...
teguh_wilidarma
Nimbostratus
Feb 07, 2011I don't know, will this work?
example for FE module:
when HTTP_REQUEST {
if { [HTTP::host] equals "www.front.com"} {
[HTTP::redirect] http://[HTTP::host]:2020
} elseif { [HTTP::host] equals "https://www.front.com" and [HTTP::uri] equals "/servlet/LiveGiverServlet"} {
[HTTP::redirect] http://[HTTP::host]:2025
}
}
VS for FE module listen on port : 2020 and 2025
Regards
Teguh
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