Forum Discussion
Hudson_Donovan_
Nimbostratus
Jun 28, 2006Redirection based on URI - should be simple
Hi there,
This is my first post and I am a new user to Big-IP and the rules.
I have a task of creating a redirection rule that passes the URI to a different host domain.
...
Deb_Allen_18
Jun 28, 2006Historic F5 Account
Try this ("equals" is a more efficient comparison than "matches_regex"):
if (http_uri == "/") {
redirect to "http://www.ourdomain.com"
}
else {
redirect to "http://www.differentcompanydomain.com/%u"
}
HTH
/deb
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