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/...
barry_8239
Nimbostratus
Nov 30, 2012This is what i tried to add
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host]] {
"example*" -
"sample" {
HTTP::redirect "http://newserver[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