Forum Discussion
Bryan_Chick_152
Nimbostratus
Aug 18, 2006Redirect based on position of word in uri
Hi all,
I posted a question a couple days ago, but mispoke in the question. I am posting the modified question here again as a new post.
I need a rule that redirects for a cer...
Aug 18, 2006
In 4.x, you don't have the fun switch statements, so you'll have to fall back to a plain old if statement.
if ((http_host equals "vw.com") and (http_uri starts_with "/golf")) {
redirect to "http://vw.com/rabbit"
}-Joe
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
