Forum Discussion
Puneet_73909
Nimbostratus
Sep 09, 2009Redirection to another LB Virtual Server
Hi,
I am trying to redirect HTTP request to another Virtual Server(configured on different Load Balancer) If request comes with uri: "/abc". I need help to write an irule for same which...
The_Bhattman
Nimbostratus
Sep 09, 2009well you can write that in the following way
when HTTP_REQUEST {
if { [HTTP::host] eq "int1.abc.com" } {
switch -glob [HTTP::uri] {
"/" { pool original_pool }
"/distcache-sample" { HTTP::redirect "HTTP://anothervirtualserverdomain.com/" }
}
}
}
CB
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
