Forum Discussion
Joseph_Cannon_4
Nimbostratus
Aug 18, 2005redirect and use same pool
We would like to change the hostname of the website and have user dynamically redirected, even if they have it bookmarked with a long uri.
DNS resolves the same for both names.
Here is ...
Aug 24, 2005
a redirect will send a HTTP redirect to the url you specify back to the browser so you don't need to specify the "use pool cba" after the redirect.
If you set your default pool on your virtual to "cba", then your rule could be as simple as this
if (http_host contains "abc" ) {
redirect to "https://cba.mycompany.com/%u"
}The things you need to watch out for in situations like this is to avoid a recursive loop. In this case the redirect will only occur if "abc" is in the host and you are redirecting to a host that does not contain "abc" so you should be safe.
-Joe
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