Forum Discussion
barry_8239
Nimbostratus
Nov 30, 2012irule http redirect help
Hi All, i am fairly new to F5 world and need some assistance in redirecting a url. I've tried the following, but the browser will still show http://example/test and not the new url http://newserver/...
What_Lies_Bene1
Cirrostratus
Nov 30, 2012Try this;
when HTTP_REQUEST {
if { [HTTP::host] contains "example/test" } {
HTTP::redirect "http://newserver/test[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