Forum Discussion
Makengo_134399
Altostratus
Oct 15, 2013I would like clients coming requesting port 80 with /admin to be redirected to a different vs_B:8080 but by default to vs_A:80 HTTP Redirect Port
I have a problem
I would like clients coming requesting http://192.168.1.2 to be sent to virtual server vs_A (IP:192.168.1.2) and
clients admin to be redirected to a different virtual server vs_...
Richard__Harlan
Oct 15, 2013Historic F5 Account
This should work for you
code when HTTP_REQUEST {
if { [HTTP::uri] euqals "/admin" } {
HTTP::redirect "http://vs_B:8080/admin
}
}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