Forum Discussion
dkinsler_23191
Oct 13, 2010Nimbostratus
Redirect without rewriting host portion of URL
Hello all, I have a question about Redirecting. I have two VIPs and each has its own URL. I want one to redirect to the other under certain cconditions but I dont want the URL to change hosts. For ...
Chris_Miller
Oct 13, 2010Altostratus
I'm assuming you have different pools for each VIP?
Would it be acceptable to simply use the other pool?
Using your code:
when HTTP_REQUEST {
{if { [HTTP::uri] starts_with "/stuff" } {
pool pool_mydomain2 } {
else pool pool_mydomain1 }}
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